Summary: | sys-power/nut: libusb-0.1.so is loaded directly instead of libusb-0.1.so.4 (and libusb-compat does not provide libusb-0.1.{la,so}) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Weedy <weedy2887> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | base-system, ostroffjh, peter, prometheanfire, proxy-maint, robbat2, web |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Weedy
2015-11-26 01:13:27 UTC
the reason it's breaking is that nut uses libltdl to load "libusb-0.1", and ltdl will search for the linker script (.la) file in order to find out the full name. since we trim it in libusb-compat, libltdl has to fall back to the .so, but that is also removed. simpler answer would be to fix nut by either: (1) use the USB api directly rather than trying to dlopen it (2) use dlopen (not libltdl) on libusb-0.1.so.4 instead of libusb-0.1.so loading the canonical link time "libusb-0.1.so" provides no ABI guarantees |