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
- ERROR: freetype2 not found using pkg-configError
- PostgreSQL-search_path介紹(八)SQL
- 小程式錯誤:Component is not found in path
- 每日充電:踩坑expected ‘package‘, found ‘import‘PackageImport
- More than one file was found with OS independent path
- CertPathValidatorException: Trust anchor for certification path not found解決方法ExceptionRust
- 編譯ffmpeg遇到ERROR: x265 not found using pkg-config解決方法編譯Error
- find /path/to/search -type d -perm -o=x ! -perm -o=rw
- pkg-config
- Go 執行 程式 test.go:1:1: expected ‘package‘, found ‘EOF‘GoPackage
- jsp錯誤: "javax.servlet.http.HttpServlet" was not found on the Java Build PathJSJavaServletHTTPUI
- react-native install 報錯 No git binary found in $PATH解決方法ReactGit
- Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.HTTPPlugin
- PostgreSQLCVE-2018-1058(search_path)-暨資料庫的那些陷阱與攻防指南SQL資料庫
- 專案出現 The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path 解決方法JavaServletHTTPUI
- packagePackage
- pkg-config 在windows 上面的安裝。Windows
- golang 連線oracle 11g資料庫-遇到的坑與如何解決-No package 'oci8' foundGolangOracle資料庫Package
- Flutter Path(二) : Path 進階Flutter
- Flutter Path(一) : Path 與 CustomPainterFlutterAI
- Elasticsearch中URI Search和RequestBody Search分析Elasticsearch
- JavaScript search()JavaScript
- PDF Search mac如何使用?PDF Search使用教程Mac
- -bash: id: command not found -bash: tty: command not found
- Elasticsearch Search APIElasticsearchAPI
- location.search
- 查詢 Search
- google search grammerGo
- Leetcode Word SearchLeetCode
- DevNow: Search with LunrjsdevJS
- MVC Search 4MVC
- [BUG反饋]defined('ADDON_PATH') or define('ADDON_PATH', APP_PATH.'Addon');APP
- kubeadm not found
- 解決vue3 頁面重新整理控制檯報[Vue Router warn]: No match found for location with path“xxxxx” 警告問題Vue
- Android APIs (Package Index)AndroidAPIPackageIndex
- yum error - package is a duplicate withErrorPackage