代码改变世界

libtool: Version mismatch error. 解决方法

2015-10-08 12:57  游乐场123  阅读(1614)  评论(0编辑  收藏  举报

在编译一个软件的时候,在 ./configure 和 make  之后可能会出现如下错误:

 

  1. libtool: Version mismatch error.  This is libtool 2.4.2 Debian-2.4.2-1ubuntu1, but the  
  2. libtool: definition of this LT_INIT comes from libtool 2.4.  
  3. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1ubuntu1  
  4. libtool: and run autoconf again.  
  5. make[5]: *** 1 Error 63  



 

解决方法很简单:

运行 autoreconf -ivf 即可。