Description of problem: lsusb returns with error message: lsusb: symbol lookup error: lsusb: undefined symbol: libusb_error_name Version-Release number of selected component (if applicable): usbutils-008-4.fc23.i686 How reproducible: every time Steps to Reproduce: 1. as root enter 'lsusb' in shell Actual results: lsusb: symbol lookup error: lsusb: undefined symbol: libusb_error_name Expected results: listing of usb ports
Do you have libusbx installed? But the dependencies looks fine on my f23: [lnykryn@localhost usbutils]$ rpm -q --requires usbutils /bin/bash /usr/bin/env /usr/bin/pkg-config hwdata libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1(LIBUDEV_196)(64bit) libusb-1.0.so.0()(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 rtld(GNU_HASH) [lnykryn@localhost usbutils]$ rpm -q --whatprovides 'libusb-1.0.so.0()(64bit)' libusbx-1.0.20-1.fc23.x86_64 [lnykryn@localhost usbutils]$ nm -D /usr/lib64/libusb-1.0.so.0 | grep libusb_error_name 0000000000006510 T libusb_error_name
libusbx-1.0.20-1.fc23.i686 is installed
I get the following output: rpm -q --requires usbutils /bin/bash /usr/bin/env /usr/bin/pkg-config hwdata libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libudev.so.1 libudev.so.1(LIBUDEV_183) libudev.so.1(LIBUDEV_196) libusb-1.0.so.0 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 rtld(GNU_HASH) rpm -q --whatprovides libusb-1.0.so.0 libusbx-1.0.20-1.fc23.i686 nm -D /usr/lib/libusb-1.0.so.0 | grep libusb_error_name 000054f0 T libusb_error_name
And your usbutils package is also i686 or x86_64? Can you try to install 64b of the libusb library?
installed is libusb-0.1.5-6.fc23.i686 I don't know how to install the x86_64 version on my i686 system! dnf install libusb-0.1.5-6.fc23.x86_64 does not do the job.
I resolved the problem. Somehow there was a wrong libusb in /usr/local/lib/libusb-1.0.so.0 no belonging to any package. After removing /usr/local/lib/libusb* lsusb worked.