PHP之——configure: error: xml2-config not found. Please check your libxml2 installation
轉載請註明出處:http://blog.csdn.net/l1028386804/article/details/50786704
安裝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
相關文章
- PHP 5.4 編譯 configure: error: libXpm.(a|so) not found.PHP編譯Error
- 解決PHP 7.4安裝xdebug出現configure: error: rtnetlink.h is required, please...PHPErrorUI
- 排錯./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can either doErrorHTTPUIXML
- 錯誤內容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverErrorMySqlServer
- Android gradle問題解決: This app has been built with an incorrect configuration. Please configure your b...AndroidGradleAPPUI
- 解決Error Initialization failed for ‘https://start.spring.io‘Please check URL, nErrorAIHTTPSpring
- mpi4py安裝報錯error: Cannot compile MPI programs. Check your configuration!!!ErrorCompile
- No suitable application records were found. Verify your bundle ideUIAPPIDE
- 矽基流動 The parameter is invalid. Please check againAI
- PHP編譯安裝之Configure引數PHP編譯
- windows cmd 提示 No JVM installation found.Please install a 32-bit JDKWindowsJVMJDK
- configure: error: libcurl >= 7.28.0 library and headers are required with suErrorHeaderUI
- AAPT2 error: check logs for detailsAPTErrorAI
- configure: error: libcurl >= 7.28.0 library and headers are required with support for httpsErrorHeaderUIHTTP
- Make sure you configure your "user.name" and "user.email" in git.AIGit
- would dispatch back to the current handler URL [/doLogin] again. Check your ViewResolver setup!AIView
- 如何解決"You have an error in your SQL syntax"ErrorSQL
- Python錯誤:PyCharm 安裝出錯 Internal error,please。。。PythonPyCharmError
- AndroidStudio編譯時報錯Error:Please select Android SDKAndroid編譯Error
- ubuntu進行make時報錯error: Neither flex nor lex was found.UbuntuErrorFlex
- Android Studio專案匯入之後出錯:Error:(1, 0) Plugin with id 'com.android.application' not found.AndroidErrorPluginAPP
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- pyenv docter檢測出configure: error: OpenSSL is not installed.解決方案Error
- 萬能方法解決——You have an error in your SQL syntaxErrorSQL
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try againErrorAI
- vs code jshint報錯或者Open browser failed!! Please check if you have installed the browser correctly!錯誤.JSAI
- vulnhub靶場之HACK ME PLEASE
- 上傳報錯:Upload Failed: Your upload has failed a virus scan. Please choose another file.AI
- Android error “Could not get BatchedBridge, make sure your bundle is packaged properly” on start ofAndroidErrorBATPackage
- IOMESH Installation
- PHP 安裝 GD 圖形擴充套件庫(報錯:GD Library ... this PHP installation.)PHP套件
- PHP編譯configure時常見錯誤,和PHP7.1.4 編譯安裝PHP編譯
- Realcase: Failed to upgrade SQL Server 2016 SP2 CU11. (Installation success or error status: 1648)AISQLServerError
- 2.3.3.2 Application InstallationAPP
- git pull遇到錯誤:error: Your local changes to the following files would be overwritten by merge:GitError
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQLMySqlJDBCExceptionError
- 切換分支 error: Your local changes tby checkout: 錯誤解決方法Error
- A Tomcat 8.0 installation is expectedTomcat
- redhat系統伺服器重啟後提示An error occurred during the file system check.Redhat伺服器Error