当前位置:网站首页>/Bin/ld: cannot find -lxml2
/Bin/ld: cannot find -lxml2
2022-07-02 15:47:00 【Six element】
Catalog
scene
When we compile and install a source package , Re execution configure Sometimes because the library file cannot be found , An error is as follows :
[[email protected] ~]# ./configure
/bin/ld: Can't find -lxml2
Problems arise
/bin/ld: Can't find -lxml2
Problem analysis
Because compilation needs to use lib The library files , But because there is no file index relationship , As a result, the library file cannot be searched , To report a mistake .
resolvent
By using locate Load library file , Create index relationship , to update lib library , To solve this problem .
First , Load library file , Create index relationship
[[email protected] ~]# locate libxml2
/usr/lib64/libxml2.so.2
/usr/lib64/libxml2.so.2.9.1
/usr/lib64/girepository-1.0/libxml2-2.0.typelib
/usr/share/doc/libxml2-2.9.1
/usr/share/doc/libxml2-2.9.1/AUTHORS
/usr/share/doc/libxml2-2.9.1/Copyright
/usr/share/doc/libxml2-2.9.1/NEWS
/usr/share/doc/libxml2-2.9.1/README
/usr/share/doc/libxml2-2.9.1/TODO
then , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libxml2.so.2 /usr/lib/libxml2.so
after , Compile and execute again configure that will do
[[email protected] ~]# ./configure
边栏推荐
- beforeEach
- 《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
- 【Leetcode】167-两数之和II -输入有序数组
- (4) Flink's table API and SQL table schema
- [experience cloud] how to get the metadata of experience cloud in vscode
- Folium, diagnosis and close contact trajectory above
- (Wanzi essence knowledge summary) basic knowledge of shell script programming
- [leetcode] 189 rotation array
- Add an empty column to spark dataframe - add an empty column to spark dataframe
- 2022 年辽宁省大学生数学建模A、B、C题(相关论文及模型程序代码网盘下载)
猜你喜欢
PTA 天梯赛习题集 L2-001 城市间紧急救援
【LeetCode】1254-统计封闭岛屿的数量
终于搞懂了JS中的事件循环,同步/异步,微任务/宏任务,运行机制(附笔试题)
树-二叉搜索树
[salesforce] how to confirm your salesforce version?
(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice
XPT2046 四线电阻式触摸屏
《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
二叉树前,中,后序遍历
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
随机推荐
PHP static members
Pyobject to char* (string)
【LeetCode】283-移动零
Deux séquences ergodiques connues pour construire des arbres binaires
Xpt2046 four wire resistive touch screen
[leetcode] 977 square of ordered array
[leetcode] 167 - sum of two numbers II - enter an ordered array
/bin/ld: 找不到 -lpam
【LeetCode】19-删除链表的倒数第N个结点
[development environment] install the Chinese language pack for the 2013 version of visual studio community (install test agents 2013 | install visual studio 2013 simplified Chinese)
Two traversal sequences are known to construct binary trees
怎样从微信返回的json字符串中截取某个key的值?
SQL FOREIGN KEY
/bin/ld: 找不到 -lxslt
/bin/ld: 找不到 -lcrypto
Fiddler实现手机抓包——入门
士官类学校名录
Wechat Alipay account system and payment interface business process
Astra: could not open "2bc5/ [email protected] /6“: Failed to set USB interface
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points