Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build on Ubuntu 18.04 - libtool mismatch error #274

Open
victor5d opened this issue Dec 5, 2018 · 1 comment
Open

Failed to build on Ubuntu 18.04 - libtool mismatch error #274

victor5d opened this issue Dec 5, 2018 · 1 comment

Comments

@victor5d
Copy link

victor5d commented Dec 5, 2018

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 159e155"" -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

@michalvasko
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants