博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How to fix libtool: Version mismatch error
阅读量:7195 次
发布时间:2019-06-29

本文共 1329 字,大约阅读时间需要 4 分钟。

hot3.png

           

            How to fix libtool: Version mismatch error

                                           

By                                                                                                                            

               

                                           

Hello,

A couple of days ago I encountered the following issue when installing memcache using pecl:

This should have been a simple thing, it is usually works using a simple command:

pecl
install
memcache

Unfortunately this time it did not, it just returned the following messages:

libtool: Version mismatch error.  This is libtool 2.2.10, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10

The answer is simple and you have instructions on what you have to do in the error message, so this is what you have to do:

1. Download the package:

pecl download memcache

2. Extract the package && navigate to the right directory:

tar
-zxvf memcache-2.2.6.tgz
cd
memcache-2.2.6/

3.  Run phpize:

phpize --clean
phpize

4. Remove the aclocal.m4 file:

rm
aclocal.m4

5. Run aclocal and autoconf:

aclocal
autoconf

6. Now configure, make and install the package:

.
/configure
make
make
install

Everything should work, if you encounter any other issues just read the error messages and follow the instructions.

I have encountered the same problem with apc and geoip extensions also, I followed the same steps and managed to install these without any other issues

转载于:https://my.oschina.net/u/853533/blog/215033

你可能感兴趣的文章
Linux中特殊符号的用法
查看>>
2.5-ls命令
查看>>
1.1-php编译安装
查看>>
记华为S5700S-28P-LI-AC一次重写VRP的经历
查看>>
Varnish的简单使用
查看>>
OGG运维优化脚本(十四)-信息同步类--定义文件自动下发
查看>>
策略模式
查看>>
字符设备(二)
查看>>
Linux TC的ifb原理以及ingress流控
查看>>
SSDT 结构体
查看>>
android 银联支付接入报nullexception异常
查看>>
配置OSPF
查看>>
EIGRP邻居关系
查看>>
x3850X5如何添加CPU和QPI Wrap Card及两节点配置说明
查看>>
12.3、bash脚本循环语句
查看>>
用C语言实现“智障”的棋盘游戏
查看>>
JavaScript的对象——灵活与危险
查看>>
如何看待sds?
查看>>
隔行换色
查看>>
-- 小白python2之函数
查看>>