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

安装php时的报错

checking libxml2 install dir... no
checking for xml2-config path... 
configure: error: xml2-config not found. Please check your libxml2 installation.

检查

rpm -qa | grep libxml2

重新安装libxml2

yum -y install libxml2 libxml2-devel 

安装完成后

find / -name "xml2-config"

 

posted @ 2015-05-07 14:41  闲云-野鹤  阅读(280)  评论(0编辑  收藏  举报