CESNET / netopeer

NETCONF Protocol Toolset
118 stars 65 forks source link

libtool: Version mismatch error. #177

Open Muna24 opened 5 years ago

Muna24 commented 5 years ago

Hello after running "docker build -t netopeer ." I get the following error

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. make: *** [.obj/src/callbacks.lo] Error 63

Does anyone know how to solve this problem?

libtool --version libtool (GNU libtool) 2.4.6

linyunlei666 commented 4 years ago

1.try running autoreconf --force --install ./configure make in the root directory of your project.

2.If that doesn't work, try running "make maintainer-clean" first and then go to step 1.

3.If that still doesn't work, run "make maintainer-clean", then delete every generated file in the root directory of your project; including aclocal.m4, any m4 directory, any autom4te.cache directory, configure, Makefile.in, config.h, config.h.in, config.status, libtool, ltmain.sh, etc. Then go to step 1.