Roger Price
2016-Dec-10 20:42 UTC
[Nut-upsdev] 2.7.4 make install fails: libnutclient.so.0.0.0 missing
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
Jim Klimov
2016-Dec-11 02:19 UTC
[Nut-upsdev] 2.7.4 make install fails: libnutclient.so.0.0.0 missing
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-upsdevJust 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
Charles Lepple
2016-Dec-11 03:57 UTC
[Nut-upsdev] 2.7.4 make install fails: libnutclient.so.0.0.0 missing
On Dec 10, 2016, at 3:42 PM, Roger Price wrote:> > 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'If the path is different from when you originally built it (i.e. /mnt/home vs /home), you might need a "make distclean", too. Jim's suggestion of rerunning ./autogen.sh is also useful.
Reasonably Related Threads
- Testing recommend, make Install error Re: Nut-upsuser Digest, Vol 116, Issue 10
- battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
- battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
- [nut] High level C and C++ libnutclient (#2)
- libnutclient pull request