项目代码从服务器1拷贝到服务器2,编译时提示libtool问题,经网上查找资料,最终得以解决,在此记录下解决办法。
编译提示问题如下:
- libtool: Version mismatch error. This is libtool 2.4.2 Debian-2.4.2-1ubuntu1, but the
- libtool: definition of this LT_INIT comes from libtool 2.4.
- libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1ubuntu1
- libtool: and run autoconf again.
1、拷贝替换libtool
2、然后进入对应目录执行autoreconf -ivf