Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25571 - libusb conflicts with usbutils
Summary: libusb conflicts with usbutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Hanno Böck
URL: http://libusb.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks: 25845
  Show dependency tree
 
Reported: 2003-07-30 06:11 UTC by Arnaud Launay
Modified: 2003-09-02 16:07 UTC (History)
2 users (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 Arnaud Launay 2003-07-30 06:11:18 UTC
dev-libs/libusb and sys-apps/usbutils create /usr/lib/libusb.so and
/usr/include/usb.h, but the library from usbutils is very incomplete from libusb
one, but as usbutils is required (by hotplug at least), gphoto (and others)
which need libusb, can't work anymore. I did not try if lsusb works with libusb.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-08-19 07:16:57 UTC
yeah, i just noticed this problem too while debugging problems with usb support with libgphoto2.

i wonder if the authors are aware of this.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-08-19 08:18:38 UTC
i noticed that redhat doesn't distribute /usr/lib/libusb* for usbutils to avoid the conflict. it seems also that lsusb and usbmodules does not use libusb.so dynamically (at least not according to ldd).

so i think we should get rid of /usr/lib/libusb.* for usbutils for consistancy. i don't see the advantage of having both. the only other thing apart from hotplug that depends on usbutils is usbd. i don't know if that uses libusb.so or not though.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-09-02 16:07:16 UTC
i've gone ahead and made a new revision of ubsutils that has the libusb stuff removed. also a new revision of dev-libs/libusb that is exactly the same, but will force people to merge libusb again to make sure those files belong to libusb