[sane-devel] Build error at sane-desc

René Rebe rene@exactcode.de
Sat, 27 Nov 2004 10:02:57 +0100


Hi,

Henning Meier-Geinitz wrote:

>>Here is the line for sane-desc:
>>
>>gcc -o sane-desc sane-desc.o -L/usr/local/lib ../sanei/libsanei.a
>>../lib/liblib.a /usr/local/lib/libusb -lnsl /usr/lib/libjpeg.so
>>/usr/local/lib/libieee1284.so /usr/local/lib/libgphoto2.so
>>/usr/local/lib/libgphoto2_port.so -ldl -lm 
> 
> 
> That should be "/usr/lib/libusb.so". Have you installed libusb 0.1.8
> from source? I remember a problem with that version concerning the
> missing ".so". Maybe it's not listed in libusb.la?

This is a bug in the libusb source package introduced in 1.0.8. Run
"libtoolize --force" before the configure ; make ; make install cycle of
the libusb package. This is the "fix" e.g. Gentoo, as well as we in T2
use ...

http://svn.exactcode.de/t2/trunk/package/extra/libusb/libusb.conf

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
             http://www.exactcode.de | http://www.exactcode.de/t2
             +49 (0)30  255 897 45