configure: error: xml2-config not found. Please check your libxml2 installation
来源:互联网 发布:linux换行 编辑:程序博客网 时间:2024/06/16 01:35
安装php时的报错
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
检查是否安装了libxm包
[root@XKWB3403 php-5.3.8]# rpm -qa |grep libxml2
libxml2-2.6.26-2.1.12
libxml2-python-2.6.26-2.1.12
重新安装libxml2和libxml2-devel包
yum install libxml2
yum install libxml2-devel -y
安装完之后查找xml2-config文件是否存在
[root@XKWB3403 php-5.3.8]# find / -name "xml2-config"
/usr/bin/xml2-config
如果存在的话重新安装php
[root@XKWB3403 php-5.3.8]# ./configure
安装成功的标志是
之后再进行编译
make && make install
阅读全文
0 0
- error: xml2-config not found. Please check your libxml2 installation
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation.
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- php安装configure error xml2-config not found. please check your libxml2 installation
- php configure 报错 error: xml2-config not found. Please check your libxml2 installation
- PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- Centos下PHP报错:configure error xml2-config not found. please check your libxml2 installation
- linux configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation.
- PHP之——configure: error: xml2-config not found. Please check your libxml2 installation
- configure error xml2-config not found. please check your libxml2 installation 错
- 第三周项目4(1)
- setuptools的安装
- [python]leetcode(76). Minimum Window Substring
- Django settings 中的STATIC_URL
- 排序算法(六)-归并排序
- configure: error: xml2-config not found. Please check your libxml2 installation
- 基于OpenCV的简易四肢位置识别与动作识别
- Min Stack 最小栈
- 八、JDBC——分页查询(mysql的limit方法)
- 高质量深度学习资源总结:128篇论文,21大领域
- bzoj 1878(莫队)(主席树)
- 排序算法(七)-堆排序
- 代理服务器的原理,代理服务器和vpn的区别
- Maven搭建SSH案例(二)-----SSH框架在maven中的配置