Red Hat Bugzilla – Bug 825034
libguestfs has bad depndency on /lib/libusb-1.0.so.0
Last modified: 2012-07-08 19:52:12 EDT
Description of problem:
The libguestfs package in F15 depends on /lib/libusb-1.0.so.0 (exact path)
instead of libusb-1.0.so.0 (just the library version).
This fails upgrading libusb1 to libusbx on F15
Version-Release number of selected component (if applicable):
This problem exists only in F15:
The F16, F17, rawhide versions of libguestfs are OK.
Demonstrate the problem:
# On a F15 box there is hard dependency on the library absolute path
# (and btw, also on libusb-0.1, but this is not the problem)
repoquery --requires libguestfs | grep usb
# The libguestfs is the only one with this weirdness:
repoquery --whatrequires /lib/libusb-1.0.so.0
# Other packages correctly depend on the library name only:
repoquery --whatrequires libusb-1.0.so.0 | wc -l
# On a F16, F17, rawhide boxes no output is produced
# (Hmmm.... no dependency at all on libusb/libusb1)
* The libusbx package is an ABI compatible replacement for libusb1
* However, since its install path is in /usr/lib (as should be)
and not /lib, the upgrade from libusb1 to libusbx fails if
libguestfs is installed.
The path dependency is correct. It loads the file, it doesn't
link to the library.
If the path is wrong, then it probably just needs a rebuild
to pick up the new path. When libusbx is available in F15, let me
know and I'll bump the version and rebuild it.
Fedora 15 is end of life now, so sounds like this report isn't relevant anymore. Please reopen if this issue still exists in F16 or later