1、問題 Package libxml-2.0 was not found in the pkg-config search path
2、檢查是否有庫檔案, no
find / -name "libxml-2.0.pc"
echo $PKG_CONFIG_PATH
這個變數啥也沒有
3、嘗試解決
wget ftp://xmlsoft.org/libxml2/libxml2-2.9.2.tar.gz
tar -xvf libxml2-2.9.2.tar.gz
cd libxml2-2.9.2
./configure --prefix=/usr --disable-static --with-history
make
make install
4、檢查庫檔案,有了!
find / -name "libxml-2.0.pc"
/home/software/libxml2-2.9.2/libxml-2.0.pc
/usr/lib/pkgconfig/libxml-2.0.pc
root@PC1:/home/software/libxml2-2.9.2# echo $PKG_CONFIG_PATH
但是,這個環境變數還是空的, 暫且不管他。
5、測試, 貌似可以了
參考:https://stackoverflow.com/questions/31797524/r-devtools-fails-as-package-libxml-2-0-was-not-found-in-the-pkg-config-search-p
Package libxml-2.0 was not found in the pkg-config search path
相關文章
- go呼叫python報錯pkg-config: exec: "pkg-config": executable file not found in %PATH%GoPython
- fribidi not found using pkg-config
- PostgreSQL-search_path介紹(八)SQL
- ERROR: freetype2 not found using pkg-configError
- 小程式錯誤:Component is not found in path
- More than one file was found with OS independent path
- 每日充電:踩坑expected ‘package‘, found ‘import‘PackageImport
- "javax.servlet.http.HttpServlet" was not found on the Java Build PathJavaServletHTTPUI
- find /path/to/search -type d -perm -o=x ! -perm -o=rw
- CertPathValidatorException: Trust anchor for certification path not found解決方法ExceptionRust
- Go 執行 程式 test.go:1:1: expected ‘package‘, found ‘EOF‘GoPackage
- 編譯ffmpeg遇到ERROR: x265 not found using pkg-config解決方法編譯Error
- pkg-config
- jsp錯誤: "javax.servlet.http.HttpServlet" was not found on the Java Build PathJSJavaServletHTTPUI
- maven The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path錯誤MavenJavaServletHTTPUI
- configure: error: no acceptable C compiler found in $PATH 問題解決ErrorCompile
- JavaWeb:報錯資訊The superclass \"javax.servlet.http.HttpServlet\" was not found on the Java Build PathJavaWebServletHTTPUI
- <摘錄>簡述configure、pkg-config、pkg_config_path三者的關係
- Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.HTTPPlugin
- react-native install 報錯 No git binary found in $PATH解決方法ReactGit
- Linux命令未找到(command not found),誤刪Linux path原始路徑Linux
- Android自定義View:No resource identifier found for attribute ‘XXX’ in package ‘XXX‘AndroidViewIDEPackage
- Linux命令pkg-configLinux
- Multipathd: Asm!.Asm_ctl_spec:Failed To Store Path Info found messages_1268895.1ASMAI
- 專案出現 The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path 解決方法JavaServletHTTPUI
- not an rpm package (or package manifest):Package
- not an rpm package (or package manifest)Package
- packagePackage
- Package Specification 和 Package Body 及 Package有什麼區別? (轉)Package
- PostgreSQLCVE-2018-1058(search_path)-暨資料庫的那些陷阱與攻防指南SQL資料庫
- Elasticsearch中URI Search和RequestBody Search分析Elasticsearch
- 深入安卓Package Manager和Package Installer安卓Package
- JavaScript search()JavaScript
- Flutter Path(二) : Path 進階Flutter
- golang 連線oracle 11g資料庫-遇到的坑與如何解決-No package 'oci8' foundGolangOracle資料庫Package
- 建立packagePackage
- pkg-config 在windows 上面的安裝。Windows
- PDF Search mac如何使用?PDF Search使用教程Mac