[Android-tools-devel] Bug#826991: Bug#826991: fastboot missing libziparchive.so.0

Chirayu Desai chirayudesai1 at gmail.com
Mon Jun 13 13:42:37 UTC 2016


Hi,

This problem seems to have been fixed already in the source code.
The issue here is that fastboot doesn't search in the multi-arch path
(/usr/lib/x86_64-linux-gnu/android/) - you can verify that by
installing the 'patchelf' package, and then running 'patchelf
--print-rpath `which fastboot`', which prints '/usr/lib/android' for
the current version available in the repositories, 1:6.0.1+r16-3

The current version available in the source code, 1:6.0.1+r43-1,
doesn't have this problem as the commit [1] sets the proper rpath.

Kai-Chung, is there anything holding up the r43 release?
I'm guessing we need to do a synchronized release across all packages,
or perhaps even update to r46 first given that it's already available.

Either way, this has already been fixed and the nest version should be fine.

[1]: http://anonscm.debian.org/cgit/android-tools/android-platform-system-core.git/commit/?id=881e89cda5c49aa29d631bbc100d153cea0b63f0

On Mon, Jun 13, 2016 at 6:42 PM, Alberto Garcia <berto at igalia.com> wrote:
> On Fri, Jun 10, 2016 at 10:04:35PM +0000, Mouaad Aallam wrote:
>
>> fastboot fails, says libziparchive.so.0 is missing:
>>
>> $fastboot devices
>> fastboot: error while loading shared libraries: libziparchive.so.0: cannot open shared object file: No such file or directory
>
> Same problem here, but with libext4_utils.so.0 instead:
>
> $ fastboot
> fastboot: error while loading shared libraries: libext4_utils.so.0: cannot open shared object file: No such file or directory
>
> $ ldd /usr/bin/fastboot
>         linux-vdso.so.1 (0x00007ffdc29c3000)
>         libziparchive.so.0 => /usr/lib/android/libziparchive.so.0 (0x00007f58671ab000)
>         libsparse.so.0 => /usr/lib/android/libsparse.so.0 (0x00007f5866fa3000)
>         libext4_utils.so.0 => not found
>         libf2fs_utils.so.0 => not found
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5866bd5000)
>         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f58669b9000)
>         libutils.so.0 => /usr/lib/android/libutils.so.0 (0x00007f5866793000)
>         liblog.so.0 => /usr/lib/android/liblog.so.0 (0x00007f586658b000)
>         libbase.so.0 => /usr/lib/android/libbase.so.0 (0x00007f5866385000)
>         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5866005000)
>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5865d07000)
>         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5865af0000)
>         /lib64/ld-linux-x86-64.so.2 (0x000056389cce9000)
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f58658d3000)
>         libcutils.so.0 => /usr/lib/android/libcutils.so.0 (0x00007f58656c7000)
>         libbacktrace.so.0 => /usr/lib/android/libbacktrace.so.0 (0x00007f58654ba000)
>         librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f58652b2000)
>         libunwind.so.0 => not found
>
> $ ls /usr/lib/x86_64-linux-gnu/android/
> libext4_utils.so.0  libf2fs_utils.so.0  libselinux.so.0  libunwind.so.0
>
> Berto
>
> _______________________________________________
> Android-tools-devel mailing list
> Android-tools-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel



More information about the Android-tools-devel mailing list