| Summary: | libgphoto2 fails to link against libusb 1.7 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Bryson (RETIRED) <mutex> |
| Component: | Current packages | Assignee: | PPC Porters <ppc> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
David Bryson (RETIRED)
2003-09-03 14:56:13 UTC
I am having the same problem that you described, but I am on x86. Do you think you could provide more detail in your workaround? I would like to try what you tried, but I dont understand it. The only libusb libs I have are: bash-2.05b# ls /usr/lib/*usb* /usr/lib/libusb-0.1.so.4 /usr/lib/libusb.a /usr/lib/libusb.so /usr/lib/libusb.so.0.0.0 /usr/lib/libusb-0.1.so.4.3.0 /usr/lib/libusb.la /usr/lib/libusb.so.0 What should I copy from 1.7 to 1.5? ok the details of the workaround are.... you must firts edit the libgphoto dependancies to say 'libusb>=1.5' instead of 1.7 . Then copy the libusb-1.7.ebuild, to libusb-1.5.ebuild in the portage tree. Finally you have to manually wget the file since none of the portage mirrors have it, this can be done by going to the sourceforge site, and finding the 1.7 download link, change the download url to 1.5 instead of 1.7 and wget it. The file should download fine put it in /usr/portage/distfiles. Then go back to the libusb directory in the portage tree and type 'ebuild libusb-1.5.ebuild digest'. This creates the digest files for the file you just downloaded. Now you can type 'emerge libusb-1.5.ebuild' Afterwards emerge libgphoto and everything should link properly. that worked perfectly. thanks for the help. |