[Bug 963505] New: nut-scanner requires libusb-0.1.so.4()(64bit) but tries to open /usr/lib64/libusb.so installed as /usr/lib64/libusb-0.1.so.4
http://bugzilla.opensuse.org/show_bug.cgi?id=963505 Bug ID: 963505 Summary: nut-scanner requires libusb-0.1.so.4()(64bit) but tries to open /usr/lib64/libusb.so installed as /usr/lib64/libusb-0.1.so.4 Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: roger.larsson@e-gatan.se QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Several libraries are not installed using plain name without major version. Attempt to open those libraries dynamically will fail. nut 2.7.3-1.6
nut-scanner
strace nut-scanner open("/lib/libusb.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libusb.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib64/libusb.la", O_RDONLY) = -1 ENOENT (No such file or
Cannot load USB library (libusb) : file not found. USB search disabled. Cannot load SNMP library (libnetsnmp) : file not found. SNMP search disabled. Cannot load XML library (libneon) : file not found. XML search disabled. Cannot load AVAHI library (libavahi-client) : file not found. AVAHI search disabled. Cannot load IPMI library (libfreeipmi) : file not found. IPMI search disabled. Cannot load NUT library (libupsclient) : file not found. NUT search disabled. directory) open("/usr/local/lib/libusb.la", O_RDONLY) = -1 ENOENT (No such file or directory) access("/lib/libusb.so", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/libusb.so", R_OK) = -1 ENOENT (No such file or directory) access("/usr/local/lib64/libusb.so", R_OK) = -1 ENOENT (No such file or directory) access("/usr/local/lib/libusb.so", R_OK) = -1 ENOENT (No such file or directory) futex(0x7ff0d014d0c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=192663, ...}) = 0 mmap(NULL, 192663, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff0d0d1e000 close(3) = 0 open("/lib64/tls/x86_64/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7ffced0882f0) = -1 ENOENT (No such file or directory) open("/lib64/tls/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls", 0x7ffced0882f0) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/x86_64", 0x7ffced0882f0) = -1 ENOENT (No such file or directory) open("/lib64/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64", {st_mode=S_IFDIR|0755, st_size=5276, ...}) = 0 open("/usr/lib64/tls/x86_64/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7ffced0882f0) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", 0x7ffced0882f0) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7ffced0882f0) = -1 ENOENT (No such file or directory) open("/usr/lib64/libusb.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=136928, ...}) = 0 munmap(0x7ff0d0d1e000, 192663) = 0 write(2, "Cannot load USB library (libusb)"..., 72Cannot load USB library (libusb) : file not found. USB search disabled. ) = 72 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=963505
http://bugzilla.opensuse.org/show_bug.cgi?id=963505#c1
Stanislav Brabec
participants (1)
-
bugzilla_noreply@novell.com