Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121186 - xsane-0.9.7 won't work because libusb-0.1.4 is not found
Summary: xsane-0.9.7 won't work because libusb-0.1.4 is not found
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 07:52 UTC by Michele Alzetta
Modified: 2006-02-06 11:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Alzetta 2006-02-01 07:52:05 UTC
xsane
xsane: error while loading shared libraries: libusb-0.1.4: cannot open shared object file: No such file or directory

emerge libusb
... emerge successful, but ...

xsane
xsane: error while loading shared libraries: libusb-0.1.4: cannot open shared object file: No such file or directory

ls /usr/lib/libusb*
/usr/lib/libusb-0.1.so.4.4.0
/usr/lib/libusb-0.1.so.4.4.2
/usr/lib/libusb-0.1.so.4

A quick hack:
ln -s /usr/lib/libusb-0.1.so.4 /usr/lib/libusb-0.1.4
fixes this.

xsane 0.9.7
libusb 0.1.10.a
libtool 1.5.22
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2006-02-01 12:49:44 UTC
It's not that easy... on my system:
 # equery files libusb
[ Searching for packages matching libusb... ]
dev-libs/libusb-0.1.10a
* Contents of dev-libs/libusb-0.1.10a:
/usr
/usr/bin
/usr/bin/libusb-config
/usr/include
/usr/include/usb.h
/usr/include/usbpp.h
/usr/lib
/usr/lib/libusb -> libusb-0.1.4.4.2
/usr/lib/libusb-0.1.4 -> libusb-0.1.4.4.2
/usr/lib/libusb-0.1.4.4.2
/usr/lib/libusb.a
/usr/lib/libusb.la
[more files snipped]
Will have to check what makes the difference.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2006-02-03 05:12:44 UTC
Upgraded libtool, re-emerged libusb, got different files in /usr/lib... no idea why this was changed. But just re-emerging sane-backends fixed the issue for me. So I'd say this is not an xsane or sane-backends issue but a problem with libtool and/or libusb. Re-assigning to the libusb maintainer, please check if this is your problem.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 11:07:51 UTC
yes, i've seen this before,. its a libtool/libusb interaction thing. we already run libtoolize in 0.10.0a and it seems to take care of it. can't find out where exactly is the culprit for this transient failure.