Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2308  / 3 Years ago, wed, november 24, 2021, 11:08:09

I try to use android-tools/fastboot commands like



fastboot devices


Then I get the error message



fastboot: symbol lookup error: fastboot: undefined symbol: _ZN13TemporaryFileD1Ev


I try two way to install:



sudo apt install fastboot


and



sudo apt install android-tools-fastboot


Error message is the same for both.



Here is some outputs:



pm@dev:~$ which fastboot
/usr/bin/fastboot

pm@dev:~$ dpkg -S /usr/bin/fastboot
fastboot: /usr/bin/fastboot

pm@dev:~$ ldd /usr/bin/fastboot
linux-vdso.so.1 (0x00007ffca6dbb000)
libziparchive.so.0 => /usr/lib/x86_64-linux-gnu/android/libziparchive.so.0 (0x00007f097209d000)
libsparse.so.0 => /usr/lib/x86_64-linux-gnu/android/libsparse.so.0 (0x00007f0971e95000)
libbase.so.0 => /usr/lib/x86_64-linux-gnu/android/libbase.so.0 (0x00007f0971c8b000)
libcutils.so.0 => /usr/lib/x86_64-linux-gnu/android/libcutils.so.0 (0x00007f0971a7f000)
libadb.so.0 => /usr/lib/x86_64-linux-gnu/android/libadb.so.0 (0x00007f097184e000)
libutils.so.0 => /usr/lib/x86_64-linux-gnu/android/libutils.so.0 (0x00007f097162c000)
libf2fs_utils.so.0 => /usr/lib/x86_64-linux-gnu/android/libf2fs_utils.so.0 (0x00007f0971429000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f09710a0000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0970e88000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0970a97000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f097087a000)
liblog.so.0 => /usr/lib/x86_64-linux-gnu/android/liblog.so.0 (0x00007f0970673000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0970454000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f0970011000)
libbacktrace.so.0 => /usr/lib/x86_64-linux-gnu/android/libbacktrace.so.0 (0x00007f096fdf5000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f096fbf1000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f096f853000)
/lib64/ld-linux-x86-64.so.2 (0x00007f09724c7000)
libunwind.so.0 => /usr/lib/x86_64-linux-gnu/android/libunwind.so.0 (0x00007f096f60a000)
lib7z.so => /usr/lib/x86_64-linux-gnu/android/lib7z.so (0x00007f096f219000)

More From » 18.04

 Answers
1

Please ensure that you have installed all updates and that your repositories are correctly set (you have all pockets main, universe, multiverse and restricted with all updates enabled bionic-updates, bionic-security). If unsure check this.



Then run:



sudo apt-get update # to update package lists
sudo apt-get dist-upgrade # to get newest dependencies


I can't reproduce your issue on clean installed and fully-updated Ubuntu 18.04 LTS.



The ldd's output differs from yours by a few of lines (addresses removed to be more clear):




...
libcrypto.so.0 => /usr/lib/x86_64-linux-gnu/android/libcrypto.so.0
libcrypto_utils.so.0 => /usr/lib/x86_64-linux-gnu/android/libcrypto_utils.so.0
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1
...



and from basing on these differences I'll recommend to install the following packages:



sudo apt-get install android-libboringssl android-libcrypto-utils libudev1 libusb-1.0-0


and retry.


[#5027] Thursday, November 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stantildlike

Total Points: 363
Total Questions: 135
Total Answers: 120

Location: Pitcairn Islands
Member since Fri, Dec 17, 2021
2 Years ago
;