libtool version mismatch error

19 篇文章 0 订阅
1 篇文章 0 订阅

在64位debian6.0下编译某软件时报如下错误:

libtool: Version mismatch error. This is libtool 2.2.6 Debian-2.2.6a-4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 Debian-2.2.6a-4
libtool: and run autoconf again.
make[2]: *** [wktools4] Error 63
make[2]: Target `all' not remade because of errors.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***

解决方法:

在工程的根目录下执行下面命令。

autoreconf --force --install
./configure
make

如果还是不起作用的话,执行语句
make maintainer-clean
然后删除工程根目录下所有生成的文件,包括:

aclocal.m4,所有m4目录, 所有autom4te.cache目录, configure, Makefile.in, config.h, config.h.in, config.status, libtool, ltmain.sh文件,然后再执行上面命令。


参考:http://stackoverflow.com/questions/3096989/libtool-version-mismatch-error




博主所有文章已转自私人博客 Joe 的个人博客,谢谢关注!

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值