You are not logged in.

#1 2024-08-22 16:37:03

Flotec09
Member
Registered: 2024-06-03
Posts: 6

ADB can't find shared library libprotobuf although it is installed.

When I want to start adb with

adb shell

I get the following error message:

adb: error while loading shared libraries: libprotobuf.so.27.3.0: cannot open shared object file: No such file or directory

I have checked, and the protobuf package is installed.

What can I do?

Offline

#2 2024-08-22 17:54:35

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,160

Re: ADB can't find shared library libprotobuf although it is installed.

Flotec09 wrote:

What can I do?

Update your system.

Offline

#3 2024-08-22 17:57:18

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,532
Website

Re: ADB can't find shared library libprotobuf although it is installed.

Please post the output from the following commands:

$ pacman -Qikk protobuf android-tools
$ pacman -Si protobuf android-tools

Last edited by WorMzy (2024-09-01 15:18:44)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2024-09-01 10:31:10

i_use_arch_linux
Member
Registered: 2024-09-01
Posts: 2

Re: ADB can't find shared library libprotobuf although it is installed.

[stealth@stealth-arch pacman.d]$ pacman -Qkk protobuf android-tools
protobuf: 467 total files, 0 altered files
android-tools: 35 total files, 0 altered files
[stealth@stealth-arch pacman.d]$ pacman -Si protobuf android-tools
Repository      : extra
Name            : protobuf
Version         : 27.3-2
Description     : Protocol Buffers - Google's data interchange format
Architecture    : x86_64
URL             : https://developers.google.com/protocol-buffers/
Licenses        : BSD
Groups          : None
Provides        : libprotoc.so=27.3.0-64  libprotobuf.so=27.3.0-64  libprotobuf-lite.so=27.3.0-64
Depends On      : gcc-libs  glibc  zlib  abseil-cpp
Optional Deps   : None
Conflicts With  : None
Replaces        : protobuf-cpp
Download Size   : 2.94 MiB
Installed Size  : 14.50 MiB
Packager        : Christian Heusel <gromit@archlinux.org>
Build Date      : Sat 17 Aug 2024 04:13:55 PM +07
Validated By    : SHA-256 Sum  Signature

Repository      : extra
Name            : android-tools
Version         : 35.0.1-3
Description     : Android platform tools
Architecture    : x86_64
URL             : http://tools.android.com/
Licenses        : Apache  MIT
Groups          : None
Provides        : None
Depends On      : libusb  protobuf  brotli  zstd  android-udev  pcre2
Optional Deps   : python: {mk,unpack_,repack_}bootimg and mkdtboimg support
Conflicts With  : None
Replaces        : None
Download Size   : 2033.09 KiB
Installed Size  : 6400.25 KiB
Packager        : Christian Heusel <gromit@archlinux.org>
Build Date      : Mon 05 Aug 2024 10:20:08 PM +07
Validated By    : SHA-256 Sum  Signature

[stealth@stealth-arch pacman.d]$ adb
adb: error while loading shared libraries: libprotobuf.so.27.3.0: cannot open shared object file: No such file or directory

Offline

#5 2024-09-01 14:10:47

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,160

Re: ADB can't find shared library libprotobuf although it is installed.

i_use_arch_linux wrote:
adb: error while loading shared libraries: libprotobuf.so.27.3.0: cannot open shared object file: No such file or directory
arojas wrote:

Update your system.

Offline

#6 2024-09-01 15:20:07

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,532
Website

Re: ADB can't find shared library libprotobuf although it is installed.

i_use_arch_linux wrote:
[stealth@stealth-arch pacman.d]$ pacman -Qkk protobuf android-tools
protobuf: 467 total files, 0 altered files
android-tools: 35 total files, 0 altered files
[stealth@stealth-arch pacman.d]$ pacman -Si protobuf android-tools
Repository      : extra
Name            : protobuf
Version         : 27.3-2
Description     : Protocol Buffers - Google's data interchange format
Architecture    : x86_64
URL             : https://developers.google.com/protocol-buffers/
Licenses        : BSD
Groups          : None
Provides        : libprotoc.so=27.3.0-64  libprotobuf.so=27.3.0-64  libprotobuf-lite.so=27.3.0-64
Depends On      : gcc-libs  glibc  zlib  abseil-cpp
Optional Deps   : None
Conflicts With  : None
Replaces        : protobuf-cpp
Download Size   : 2.94 MiB
Installed Size  : 14.50 MiB
Packager        : Christian Heusel <gromit@archlinux.org>
Build Date      : Sat 17 Aug 2024 04:13:55 PM +07
Validated By    : SHA-256 Sum  Signature

Repository      : extra
Name            : android-tools
Version         : 35.0.1-3
Description     : Android platform tools
Architecture    : x86_64
URL             : http://tools.android.com/
Licenses        : Apache  MIT
Groups          : None
Provides        : None
Depends On      : libusb  protobuf  brotli  zstd  android-udev  pcre2
Optional Deps   : python: {mk,unpack_,repack_}bootimg and mkdtboimg support
Conflicts With  : None
Replaces        : None
Download Size   : 2033.09 KiB
Installed Size  : 6400.25 KiB
Packager        : Christian Heusel <gromit@archlinux.org>
Build Date      : Mon 05 Aug 2024 10:20:08 PM +07
Validated By    : SHA-256 Sum  Signature

[stealth@stealth-arch pacman.d]$ adb
adb: error while loading shared libraries: libprotobuf.so.27.3.0: cannot open shared object file: No such file or directory

https://wiki.archlinux.org/title/System … nsupported


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB