android-tools and dep protobuf mismatched versions

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

android-tools and dep protobuf mismatched versions

Postby christopherfujino » Thu Jul 02, 2020 10:48 pm

I just installed archlinux ARM on a raspberry pi 3 (AArch64). I installed android-tools (29.0.6-1), which pulled in protobuf (3.12.3-1) as a dependency. However, when I tried to execute `adb`, I get the error:

`adb: error while loading shared libraries: libprotobuf-lite.so.22: cannot open shared object file: No such file or directory`

According to `pacman -Qi protobuf`:

Provides : libprotoc.so=23-64 libprotobuf.so=23-64 libprotobuf-lite.so=23-64

All my packages are up to date (as of July 2nd, 2020). Seems like protobuf is newer than what android-tools is expecting?
christopherfujino
 
Posts: 2
Joined: Thu Jul 02, 2020 10:40 pm

Re: android-tools and dep protobuf mismatched versions

Postby christopherfujino » Tue Jul 07, 2020 6:33 pm

It looks like upstream Arch linux has the same protobuf version, but a newer `android-tools` package (version 30.0.0-2 vs 29.0.6-1 on ALARM)
christopherfujino
 
Posts: 2
Joined: Thu Jul 02, 2020 10:40 pm

Re: android-tools and dep protobuf mismatched versions

Postby pragya015 » Tue Jul 14, 2020 6:23 am

I am facing the same issue for aarch64. What was the solution?
pragya015
 
Posts: 2
Joined: Tue Jul 14, 2020 6:19 am

Re: android-tools and dep protobuf mismatched versions

Postby pragya015 » Mon Jul 20, 2020 12:49 am

Solved it by installing a lower version of protobuf - protobuf-3.11.4-1-aarch64.pkg.tar.xz.
Will wait for an updated android-tools package for aarch64 platform.
pragya015
 
Posts: 2
Joined: Tue Jul 14, 2020 6:19 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 5 guests