[Nut-upsdev] 2.7.4 make install fails: libnutclient.so.0.0.0 missing

Roger Price roger at rogerprice.org
Sat Dec 10 20:42:17 UTC 2016


I upgraded an operating system to openSUSE 42.2, kernel 4.4 and recompiled 
nut 2.7.4.  ./configure, make clean and make went well, but make install 
failed. Make reports

Making install in clients
make[1]: Entering directory '/mnt/home/rprice/nut/nut-2.7.4.dev/clients'
make[2]: Entering directory '/mnt/home/rprice/nut/nut-2.7.4.dev/clients'
  /usr/bin/mkdir -p '/usr/lib64'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c   libupsclient.la libnutclient.la '/usr/lib64'
libtool: install: /usr/bin/install -c .libs/libupsclient.so.4.0.0 /usr/lib64/libupsclient.so.4.0.0
libtool: install: (cd /usr/lib64 && { ln -s -f libupsclient.so.4.0.0 libupsclient.so.4 || { rm -f libupsclient.so.4 && ln -s libupsclient.so.4.0.0 libupsclient.so.4; }; })
libtool: install: (cd /usr/lib64 && { ln -s -f libupsclient.so.4.0.0 libupsclient.so || { rm -f libupsclient.so && ln -s libupsclient.so.4.0.0 libupsclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libupsclient.lai /usr/lib64/libupsclient.la
libtool: install: /usr/bin/install -c .libs/libnutclient.so.0.0.0 /usr/lib64/libnutclient.so.0.0.0
/usr/bin/install: cannot stat '.libs/libnutclient.so.0.0.0': No such file or directory
Makefile:574: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/mnt/home/rprice/nut/nut-2.7.4.dev/clients'
Makefile:1023: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/mnt/home/rprice/nut/nut-2.7.4.dev/clients'
Makefile:514: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

File libnutclient.so.0.0.0 does not exist:

rprice at titan:~/nut/nut-2.7.4.dev> ls -alF ./clients/.libs/libnut*
-rw-r--r-- 1 rprice cs-users 438596 Dec 10 20:24 ./clients/.libs/libnutclient.a
lrwxrwxrwx 1 rprice cs-users     18 Dec 10 20:24 ./clients/.libs/libnutclient.la -> ../libnutclient.la
-rw-r--r-- 1 rprice cs-users    976 Dec 10 20:24 ./clients/.libs/libnutclient.lai
lrwxrwxrwx 1 rprice cs-users     21 Dec 10 20:24 ./clients/.libs/libnutclient.so -> libnutclient.so.0.0.0
lrwxrwxrwx 1 rprice cs-users     21 Dec 10 20:24 ./clients/.libs/libnutclient.so.0 -> libnutclient.so.0.0.0

This compilation and installation worked with the previous version of the 
OS.  I'm probably doing something stupid, but for the moment I don't see 
what it is. Any suggestion would be very welcome.

Roger



More information about the Nut-upsdev mailing list