CentOS 5、6中常见组件缺失解决办法

2014/08/2815:22:53 发表评论

1.Configure: error: xml2-config not found. Please check your libxml2 installation.

#yum install libxml2 libxml2-devel

2.configure: error: Cannot find OpenSSL’s <evp.h>

#yum install openssl openssl-devel

3.Configure: error: Please reinstall the BZip2 distribution

# yum install bzip2 bzip2-devel

4.Configure: error: Please reinstall the libcurl distribution -easy.h should be in <curl-dir>/include/curl/

# yum install curl curl-devel

5.Configure: error: libjpeg.(a|so) 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: Please reinstall the ncurses distribution

# yum install ncurses ncurses-devel

10.Configure: error: Cannot find pspell

# yum install pspell-devel

11.Configure: error: mcrypt.h not found. Please reinstall libmcrypt.

# yum install libmcrypt libmcrypt-devel

12.Configure: error: snmp.h not found. Check your SNMP installation.

# yum install net-snmp net-snmp-devel

13.Configure: error: Cannot find ldap.h

# yum install openldap-devel

 

  • 微信扫码赞助
  • weinxin
  • 支付宝赞助
  • weinxin

发表评论

您必须才能发表评论!