【安装】
参考:http://www.baike.com/wiki/libtool
【安装】
yum安装:
yum install libtool
编译安装:
wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz && tar xfz libtool-2.4.6.tar.gz && cd libtool-2.4.6 && ./configure && make && make install
【排错】
报错:libtool: command not found
需要安装 libtool 。
报错:You should recreate aclocal.m4 with macros from libtool 2.4.2
参考:http://www.compdigitec.com/labs/2012/10/18/solving-libtool-version-mismatch-error/
参考:https://blog.csdn.net/Sky_qing/article/details/9947051
在 ./configure 和 make 之后可能会出现如下错误:
... libtool: Version mismatch error. This is libtool 2.4.6, but the libtool: definition of this LT_INIT comes from libtool 2.4.2. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 libtool: and run autoconf again. ...
解决方法:升级libtool到相应版本。