Project

General

Profile

Actions

Bug #4078

closed

NUT fails to start with USB

Added by Denny Page over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/05/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.2
Affected Plus Version:
Affected Architecture:
All

Description

On 64 bit, the NUT build is looking libusb.so.2, whereas the native build for 64 bit in /usr/lib is libusb.so.3. There is a libusb.so.2 present in the system, but it is a 32 bit build in /usr/lib32.


root: /usr/local/etc/rc.d/nut.sh start
starting usbhid-ups
Network UPS Tools - UPS driver controller 2.6.5
Shared object "libusb.so.2" not found, required by "usbhid-ups"
Driver failed to start (exit status=1)
usbhid-ups failed to start
root:

root: find / -name 'libusb*so*'
/usr/lib/libusbhid.so.4
/usr/lib/libusbhid.so
/usr/lib/libusb.so
/usr/lib/libusb.so.3
/usr/lib32/libusbhid.so.4
/usr/lib32/libusbhid.so
/usr/lib32/libusb.so.2
/usr/lib32/libusb.so
root:

/root: file /usr/local/libexec/nut/usbhid-ups
/usr/local/libexec/nut/usbhid-ups: symbolic link to `/usr/pbi/nut-amd64/libexec/nut/usbhid-ups'

root: ldd /usr/pbi/nut-amd64/libexec/nut/usbhid-ups
/usr/pbi/nut-amd64/libexec/nut/usbhid-ups:
libusb.so.2 => not found (0)
libthr.so.3 => /lib/libthr.so.3 (0x80075d000)
libc.so.7 => /lib/libc.so.7 (0x800982000)

Actions

Also available in: Atom PDF