rpm安装的libxml2,装php ./configure的时候提示找不到
我是用rpm装的libxml2
[root@local php-5.5.3]# rpm -ql libxml2
/usr/bin/xmlcatalog
/usr/bin/xmllint
/usr/lib/libxml2.so.2
/usr/lib/libxml2.so.2.5.10
/usr/share/doc/libxml2-2.5.10
/usr/share/doc/libxml2-2.5.10/AUTHORS
/usr/share/doc/libxml2-2.5.10/ChangeLog
/usr/share/doc/libxml2-2.5.10/Copyright
/usr/share/doc/libxml2-2.5.10/NEWS
/usr/share/doc/libxml2-2.5.10/README
/usr/share/doc/libxml2-2.5.10/TODO
/usr/share/man/man1/xmlcatalog.1.gz
/usr/share/man/man1/xmllint.1.gz
/usr/share/man/man3/libxml.3.gz
[root@local php-5.5.3]# rpm -qa | grep libxml
libxml2-2.5.10-5
但是./configure php的时候还是提示configure: error: xml2-config not found. Please check your libxml2 installation.
------解决方案--------------------你查查是不是还有一个关于libxml2的devel包?