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

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

时间: 2024-09-16 12:08:55

configure: error: *** libmcrypt was not found 错误解决的相关文章

编译mysql提示错误:configure: error: No curses/termcap library found 解决方法

文章来源:   在编译Mysql时 ./configure –prefix=DIR 如果出现了以下错误: -- checking for tgetent in -ltermcap- no checking for termcap functions library- configure: error: No curses/termcap library found 说明 curses/termcap 库没有安装 apt-cache search curses | grep lib 如果没有安装

Node.js Error: Cannot find module ‘node-static’错误解决办法

Cannot find module 问题 在测试WebRTC codelab的时候,运行codelab.complete.step1出错,抛出Error: module.js:340     throw err;           ^ Error: Cannot find module 'node-static'     at Function.Module._resolveFilename (module.js:338:15)     at Function.Module._load (m

Configure: error: freetype.h not found

Configure: error: freetype.h not found. 的解决办法 Configure: error: freetype.h not found. 的解决办法 CentOSyum install freetype-devel Debian apt-get install libfreetype6-dev 参考: http://rffan.info/4244 http://www.linuxidc.com/Linux/2011-01/31115.htm

configure error:安装php时出现configure: error: Unable to find gd.h anywhere under,错误解决

在进行PHP开发环境源码安装时,在安装PHP-5.2.6是出现:configure: error: Unable to find gd.h anywhere under错误 解决方式: 1.在gd库的安装路径下搜索没有发现gd.h文件,但是在/etc/include下有gd.h文件 2.在网上搜索发现重装gd库可解决 3.重新安装gd库,在安装时出现:   configure.ac:64: error: possibly undefined macro: AM_ICONV  If this to

Centos编译Nginx错误configure: error: the HTTP rewrite module 解决办法

我们在编译Centos手工编译Nginx时候,会出现各种编译不通过的错误提示,一般情况下都是系统缺少组件造成的,我这里把平时遇到的错误提示都总结下: 一.错误提示./configure: error: the HTTP rewrite module requires the PCRE library 原因:PCRE组件没有安装 解决办法:安装pcre-devel yum -y install pcre-devel openssl openssl-devel 或者手工编译安装PCRE组件 cd /

configure: error: Perl Module Time::HiRes not available错误解决方法

编译安装pnp4nagios-0.6.21的时候提示如下错误信息: checking for getloadavg... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whethe

configure: error: Please fix the library issues listed above and try again错误解决方法

今天在编译安装rrdtool时,进行到[root@localhost rrdtool-1.4.8]# ./configure --prefix=/usr/local/rrdtool 报错如下: checking for glib_check_version in -lglib-2.0... yes checking glib.h usability... no checking glib.h presence... no checking for glib.h... no checking fo

随笔 - 141 文章 - 2 评论 - 289 Centos下安装apahce的configure: error: APR not found. Please read the documentation解决办法

今天从Apache官网上http://httpd.apache.org/下载httpd web服务器,由于我的虚拟机上之前安装过,我先yum remove httpd进行卸载,然后重新安装.我采用的是源码安装,先进行./configure --prefix=/usr/local/apahce  --enable-so ,提示以下错误: configure: error: APR not found. Please read the documentation. 解决办法 wget http://

编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法_php技巧

今天在64位Red Hat Enterprise Linux AS release 4 .7上编译PHP5.2.6出错,mysql是使用的RPM方式安装的,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-mysql --with-apxs2=/usr/local/apache/bin/apxs --with-openssl --with-curl --enable-xml --with-mcrypt --with-ttf --enabl