On Mon, 8 Nov 2010 04:59:27 +0000 John Frankish <[email protected]> wrote:
> > > > -----Original Message----- > > From: [email protected] [mailto:blfs-support- > > [email protected]] On Behalf Of Stuart Stegall > > > > I believe that's just a matter of linking it to the current libusb > > library. (previously it used the old API libusb.) > > -- > It would be good if cups stated clearly what their preferred option is: > > 1. Use internal cups usb backend code > 2. Use old libusb for usb backend > 3. Use new libusb for usb backend > > This seems to have been in a state of confusion since cups-1.4.0 I can confirm that cups finds and uses a usb printer (a Samsung-ml-1210) if I install cups before libusb but if I install libusb first cups finds it and links to it and then it can no longer find the usb printer. Looking at /usr/lib/cups/backend/usb it seems to be linked to both libusb-1.0.so and the old compat library, /usr/lib/libusb-0.1.so ldd '/usr/lib/cups/backend/usb' linux-vdso.so.1 => (0x00007fff5fbff000) libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0x00007fb01764f000) libcups.so.2 => /usr/lib/libcups.so.2 (0x00007fb01740b000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007fb0171ef000) libm.so.6 => /lib/libm.so.6 (0x00007fb016f6d000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fb016d36000) libc.so.6 => /lib/libc.so.6 (0x00007fb0169af000) libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007fb0167a2000) librt.so.1 => /lib/librt.so.1 (0x00007fb01659a000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fb016382000) /lib64/ld-linux-x86-64.so.2 (0x00007fb017853000) If the problem is that it's linked to libusb-0.1.so, how do I let it link to libusb-1.0.so but not libusb-0.1.so? /home/andy/cups-1.4.4/configure --help | grep usb --enable-libusb use libusb for USB printing It seems the only sensible thing to do is to configure cups with --disable-libusb Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
