Centos系统上安装php遇到的错误解决方法集锦
2013-12-20 13:54
761 查看
Centos系统上安装php遇到的错误解决方法集锦
1.configure: error: xml2-config not found. Please check your libxml2 installation
yum install libxml2 libxml2-devel
2.configure: error: Cannot find OpenSSL’s
yum install openssl openssl-devel
3.configure: error: Please reinstall the libcurl distribution - easy.h
should be in /include/curl/
yum install curl curl-devel
4.configure: error: Please reinstall the BZip2 distribution
yum install bzip2 bzip2-devel
5.configure: error: libjpeg.(also) not found.
yum install libjpeg libjpeg-devel
6.configure: error: libpng.(also) not found.
yum install libpng libpng-devel
7.configure: error: freetype.h not found.
yum install freetype-devel
8.configure: error: Unable to locate gmp.h
yum install gmp-devel
9.configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
yum install mysql-devel
10.configure: error: Please reinstall the ncurses distribution
yum install ncurses ncurses-devel
11.checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
yum install unixODBC-devel
12.configure: error: Cannot find pspell
yum install pspell-devel
13.configure: error: mcrypt.h not found. Please reinstall libmcrypt.
yum install libmcrypt libmcrypt-devel
14.configure: error: snmp.h not found. Check your SNMP installation.
yum install net-snmp net-snmp-devel.h>
64位系统
1.configure: error: libjpeg.(a|so) not found
# ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so
2.configure: error: libpng.(a|so) not found
# ln -s /usr/lib64/libpng.so /usr/lib/libpng.so
1.configure: error: xml2-config not found. Please check your libxml2 installation
yum install libxml2 libxml2-devel
2.configure: error: Cannot find OpenSSL’s
yum install openssl openssl-devel
3.configure: error: Please reinstall the libcurl distribution - easy.h
should be in /include/curl/
yum install curl curl-devel
4.configure: error: Please reinstall the BZip2 distribution
yum install bzip2 bzip2-devel
5.configure: error: libjpeg.(also) not found.
yum install libjpeg libjpeg-devel
6.configure: error: libpng.(also) not found.
yum install libpng libpng-devel
7.configure: error: freetype.h not found.
yum install freetype-devel
8.configure: error: Unable to locate gmp.h
yum install gmp-devel
9.configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
yum install mysql-devel
10.configure: error: Please reinstall the ncurses distribution
yum install ncurses ncurses-devel
11.checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
yum install unixODBC-devel
12.configure: error: Cannot find pspell
yum install pspell-devel
13.configure: error: mcrypt.h not found. Please reinstall libmcrypt.
yum install libmcrypt libmcrypt-devel
14.configure: error: snmp.h not found. Check your SNMP installation.
yum install net-snmp net-snmp-devel.h>
64位系统
1.configure: error: libjpeg.(a|so) not found
# ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so
2.configure: error: libpng.(a|so) not found
# ln -s /usr/lib64/libpng.so /usr/lib/libpng.so
相关文章推荐
- 安装php遇到的错误解决方法集锦
- CentOS下yum安装mcrypt错误:No package php-mcrypt available.解决方法
- PHP编译安装中遇到的两个错误和解决方法
- 32位Win 7 系统安装Android Studio遇到的错误以及解决方法
- centos 系统 安装 drm:radeon_acpi_init Cannot find a backlight controller 错误解决方法
- CentOS下yum安装mcrypt错误:No package php-mcrypt available.解决方法
- U盘安装CentOS7系统 提示No Caching mode page found /dev/root does not exist错误的解决方法
- win10安装centos双系统,遇到问题及解决方法
- PHP编译安装中遇到的两个错误和解决方法
- PHP 安装memcache后,使用时遇到的错误 解决方法
- 手动编译安装PHP遇到错误以及解决方法记录
- Oracle安装遇到INS-30131错误的解决方法
- 安装MySql-Python遇到的错误及解决方法
- oracle安装过程中遇到的一些错误解决方法
- centos 6.3 x64 php 5.2.6 扩展安装openssl 出错 的解决方法
- 个别的 Debian 和CentOS无法安装PHP的Tokyotyrant扩展的解决方法
- CentOS 6.3下安装腾达USB无线网卡遇到的问题及解决方法
- 【已解决】安装Ubuntu时怎样分区--利用EasyBCD在win7下进行ubuntu安装(双系统)时遇到报错:没有根文件系统,请回到分区菜单以修正此错误
- centos linux 系统日常管理4 scp,rsync,md5sum,sha1sum,strace ,find Rsync 常见错误及解决方法 第十七节课
- 虚拟机上Linux系统安装VMware tools 时遇到的问题解决办法(VM10,CentOS6.5)