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

Jim Klimov jimklimov at cos.ru
Sun Dec 11 02:19:27 UTC 2016


10 декабря 2016 г. 21:42:17 CET, Roger Price <roger at rogerprice.org> пишет:
>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
>
>_______________________________________________
>Nut-upsdev mailing list
>Nut-upsdev at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Just in case, did you also ./autogen.sh before configuring? It sets up some scripts, etc. - though nothing pops out as a cause for your case... Also maybe fiddle with forcing --with-dev and somesuch flags.

Jim
--
Typos courtesy of K-9 Mail on my Samsung Android



More information about the Nut-upsdev mailing list