当前位置:网站首页>/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 -lxml2Problems 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/TODOthen , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libxml2.so.2 /usr/lib/libxml2.soafter , Compile and execute again configure that will do
[[email protected] ~]# ./configure边栏推荐
- 《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
- 数字藏品系统开发(程序开发)丨数字藏品3D建模经济模式系统开发源码
- Solve the problem of base64encoder error
- [leetcode] 1254 - count the number of closed Islands
- Aiko ai Frontier promotion (7.2)
- folium地图无法显示的问题,临时性解决方案如下
- 6096. 咒语和药水的成功对数
- Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
- SQL修改语句
- [salesforce] how to confirm your salesforce version?
猜你喜欢

XPT2046 四线电阻式触摸屏
![[leetcode] 1162 map analysis](/img/9a/d04bde0417d4d5232950a4e260eb91.png)
[leetcode] 1162 map analysis
![[leetcode] 1254 - count the number of closed Islands](/img/84/f888ae0e164951cd9623fb3bf4a984.png)
[leetcode] 1254 - count the number of closed Islands

密码学基础知识

彻底弄懂浏览器强缓存和协商缓存

使用 percona 工具给 MySQL 表加字段中断后该如何操作

PTA 天梯赛习题集 L2-001 城市间紧急救援
![[leetcode] 1905 statistics sub Island](/img/82/d2f7b829f5beb7f9f1eabe8d101ecb.png)
[leetcode] 1905 statistics sub Island

Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals

Experiment collection of University "Fundamentals of circuit analysis". Experiment 4 - Research on linear circuit characteristics
随机推荐
2303. Calculate the total tax payable
Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
[leetcode] 877 stone game
【LeetCode】1905-统计子岛屿
制作p12证书[通俗易懂]
全是精华的模电专题复习资料:基本放大电路知识点
6091. Divide the array so that the maximum difference is K
[idea] recommend an idea translation plug-in: translation "suggestions collection"
士官类学校名录
[leetcode] 1254 - count the number of closed Islands
Name of institution approved in advance
College entrance examination admission score line climbing
Why does the system convert the temp environment variable to a short file name?
将点云坐标转换成世界坐标的demo
[leetcode] 19 delete the penultimate node of the linked list
fastjson List转JSONArray以及JSONArray转List「建议收藏」
Some problems about pytorch extension
【LeetCode】1254-统计封闭岛屿的数量
2303. 计算应缴税款总额
【LeetCode】417-太平洋大西洋水流问题