configure: error: *** libmcrypt was not found 错误解决
问题描述
CenterOS 6.3 64位中安装php-5.4.3时,在配置mcrypt-2.6.8.tar.gz支持库时出现以下错误
configure: error: *** libmcrypt was not found
解决方法
运行 export LD_LIBRARY_PATH=/usr/local/lib: LD_LIBRARY_PATH
然后编译执行
1
2
3
|
#
./configure
#
make
#
make install
|
具体的LNMP安装与配置可以参考我的Linux项目实施系列教程:CentOS 6.3 64位搭建nginx1.3+php5.4.3+mysql5.5.25+tomcat7+jdk7安装