libnetconf icon indicating copy to clipboard operation
libnetconf copied to clipboard

Failed to build on Ubuntu 18.04 - libtool mismatch error

Open victor5d opened this issue 7 years ago • 1 comments

Trying to rebuild the netopeer-cli on Ubuntu 18.04 but failed to build libnetconf. "make" failed with libtool mismach error: ./configure make ./libtool --tag=CC --quiet --mode=compile clang -Wall -I/usr/include/libxml2 -I/usr/include/libxml2 -O3 -DNDEBUG -fvisibility=hidden -pthread -DNC_WORKINGDIR_PATH="//var/lib/libnetconf/" -DNC_SESSIONFILE_PATH="//var/lib/libnetconf/" -DNCNTF_STREAMS_MAX_SIZE_IN_MB=0 -DNCNTF_STREAMS_PATH="//var/lib/libnetconf//streams/" -DSETBIT=0 -DRCSID=""built from git 159e155ffc0a98e2d74d"" -DPOSIX_SHM -I/home/wuq54973/libnetconf.orig/src -fPIC -c src/callbacks.c -o .obj/src/callbacks.lo libtool: Version mismatch error. This is libtool 2.4.2, but the libtool: definition of this LT_INIT comes from libtool 2.4.6. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 libtool: and run autoconf again. Makefile:236: recipe for target '.obj/src/callbacks.lo' failed make: *** [.obj/src/callbacks.lo] Error 63

victor5d avatar Dec 05 '18 16:12 victor5d

Hi, I am not sure anymore how exactly it works with autotools but I think regenerating the scripts should help. So, if you run autoreconf it should do what is necessary but I seem to remember having some problems with this that unless I deleted all the generated files manually first, it refused to properly update. Or just search for this problem, it is not specific to libnetconf in any way.

Regards, Michal

michalvasko avatar Dec 06 '18 08:12 michalvasko