[sane-devel] Build error at sane-desc
Kenneth Kurkio
kkur@luukku.com
Fri, 26 Nov 2004 17:44:38 +0200 (EET)
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
On Fri, 26 Nov 2004, svoltz@wanadoo.fr wrote:
> > ../tools/sane-desc: error in loading shared libraries: libusb-0.1.4:
> > cannot open shared object file: No such file or directory
> > make[1]: *** [sane-backends-external.html] Error 127
> > make[1]: Leaving directory `/home/kenneth/sane-backends-1.0.15/doc'
> > make: *** [all-recursive] Error 1
> >
> > I don't understand this as I do have the file /usr/local/lib/libusb-0.1.4
> >
> > My kernel version is 2.2.17-14 so I guess it is older than 2001.
> >
> >
>
> I think that's qualify for older than 2.4.7 .....
> For your build problem, can you give all the lines related to the sane-desc
> compile ?
> For instance I get:
> gcc -o sane-desc sane-desc.o -L/usr/local/lib ../sanei/libsanei.a ../lib/liblib.a /usr/lib/libusb.so -lnsl -lm -ljpeg /usr/lib/libieee1284.so
>