当前位置:网站首页>/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边栏推荐
- 提前批院校名称
- C # get PLC information (kepserver) II
- The task cannot be submitted after the installation of flick is completed
- Thoroughly understand browser strong cache and negotiation cache
- Cultural scores of summer college entrance examination
- 目标检测—利用labelimg制作自己的深度学习目标检测数据集
- Deux séquences ergodiques connues pour construire des arbres binaires
- College entrance examination admission score line climbing
- 全是精华的模电专题复习资料:基本放大电路知识点
- /bin/ld: 找不到 -lssl
猜你喜欢

全是精华的模电专题复习资料:基本放大电路知识点

Xpt2046 four wire resistive touch screen

Soul torture, what is AQS???
![[experience cloud] how to get the metadata of experience cloud in vscode](/img/45/012c2265402ba1b44f4497f468bc61.png)
[experience cloud] how to get the metadata of experience cloud in vscode

《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
![[leetcode] 417 - Pacific Atlantic current problem](/img/30/c541bc1e81eb4e348ca11116a05e84.png)
[leetcode] 417 - Pacific Atlantic current problem
![[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)](/img/26/3f19d36c048e669c736e27384e0fa7.jpg)
[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)

6.12 critical moment of Unified Process Platform

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

Redux - detailed explanation
随机推荐
[2. Basics of Delphi grammar] 3 Object Pascal constants and variables
《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
fastjson List转JSONArray以及JSONArray转List「建议收藏」
【Salesforce】如何确认你的Salesforce版本?
Fiddler实现手机抓包——入门
动态规划入门一,队列的bfs(70.121.279.200)
lseek 出错
高考分数线爬取
Finally, I understand the event loop, synchronous / asynchronous, micro task / macro task, and operation mechanism in JS (with test questions attached)
【LeetCode】417-太平洋大西洋水流问题
PostgresSQL 流复制 主备切换 主库无读写宕机场景
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
[leetcode] 1254 - count the number of closed Islands
6092. 替换数组中的元素
Folium, diagnosis and close contact trajectory above
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
【LeetCode】876-链表的中间结点
密码学基础知识
[leetcode] 877 stone game
Basic knowledge of cryptography