configure: error: *** libmcrypt was not found 错误解决

简介: <h2 style="margin:0px auto; padding:0px 0px 3px; font-size:16px; height:25px; line-height:25px; color:rgb(51,51,51); font-family:'Microsoft Yahei',Verdana,Geneva,sans-serif"> <a target="_blank" c

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安装


目录
相关文章
|
9月前
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
276 0
configure: error: libacl not found
configure: error: libacl not found
61 0
configure: error: gperf is needed
configure: error: gperf is needed
92 0
configure: error: SELinux selected but libselinux not found
configure: error: SELinux selected but libselinux not found
78 0
configure: error: cups-config not found
configure: error: cups-config not found
74 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
116 0
解决办法:configure: error: C compiler cannot create executables错误
解决办法:configure: error: C compiler cannot create executables错误
438 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
66 0
|
应用服务中间件 Linux nginx
./configure: error: C compiler cc is not found
./configure: error: C compiler cc is not found
651 0