libtool版本过新的问题

 

安装过程中出现: libtool: Version mismatch error. This is libtool 2.4.2, but the libtool: definition of this LT_INIT comes from lib tool 2.2.10 libtool: You should recreate aclocal.m4 with macros from lib tool 2.4.2 libtool: and run autoconf again. 的错误,google解决之,有三种方法:

第一种:运行 rm aclocal.m4 & aclocal & autoconf

第二种:依次运行 aclocal libtoolize –force autoconf autoheader automake

第三种:运行 autoreconf –force –install 运行后重新编译. (此方法实践通过,以上两种未实践)

你可能感兴趣的:(tool)