Am 03.07.2012 09:26, schrieb Ludovic Rousseau: > 2012/7/3 Tobias Powalowski <tobias.powalow...@googlemail.com>: >> Am 03.07.2012 08:49, schrieb Ludovic Rousseau: >>> Why is the lib called libusb.a and not libusb-1.0.a? >>> >>> My hypothesis is that libusb.a comes from libusb-compat and is not >>> (statically) linked with libusb (or libusbx). So of course all the >>> libusb-1.0 symbols are missing. >>> Can you check that? >> Correct, does that mean i need to rebuild libusb-compat against libusbx? > Your dynamic libusb-compat lib (libusb.so) should be linked with > libusb-1.0. Check with ldd(1). > Is that the case? linux-vdso.so.1 => (0x00007fff38ad2000) libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f3a82161000) libc.so.6 => /lib/libc.so.6 (0x00007f3a81dc0000) librt.so.1 => /lib/librt.so.1 (0x00007f3a81bb7000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f3a8199b000) /lib/ld-linux-x86-64.so.2 (0x00007f3a825a2000)
> And the libusb.so lib should not have any missing symbol. Check with "ldd -r" > Is that also the case? ldd -r /usr/lib/libusb.so linux-vdso.so.1 => (0x00007fff3a1ff000) libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f549794e000) libc.so.6 => /lib/libc.so.6 (0x00007f54975ad000) librt.so.1 => /lib/librt.so.1 (0x00007f54973a4000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5497188000) /lib/ld-linux-x86-64.so.2 (0x00007f5497d8f000) >>> Another good idea is to NOT distribute a static lib. Only the dynamic >>> .so should be provided. But that is not the problem. >> I already disabled static lib in libusbx. > So you can't build a libusb-compat static lib without a libusb(x) 1.0 > static version. > Disable static lib for libusb-compat as well. > Thanks will also disable it. Looks like all is ok and i only need to remove the static libusb-compat file. greetings tpowa -- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tp...@archlinux.org
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel