当前位置:网站首页>/Bin/ld: cannot find -lssl
/Bin/ld: cannot find -lssl
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 -lsslProblems arise
/bin/ld: Can't find -lssl
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 libssl
/usr/lib64/.libssl.so.1.0.2k.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libssl.so.1.0.2k
/usr/lib64/libssl.so.10
/usr/lib64/libssl3.sothen , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libssl.so.1.0.2k /usr/lib/libssl.soafter , Compile and execute again configure that will do
[[email protected] ~]# ./configure边栏推荐
- How to intercept the value of a key from the JSON string returned by wechat?
- Analysis of the difference between array and linked list
- Pyinstaller打包exe附带图片的方法
- Finally, I understand the event loop, synchronous / asynchronous, micro task / macro task, and operation mechanism in JS (with test questions attached)
- [leetcode] 876 intermediate node of linked list
- Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
- /bin/ld: 找不到 -lssl
- 【LeetCode】876-链表的中间结点
- (万字精华知识总结)Shell脚本编程基础知识
- Deux séquences ergodiques connues pour construire des arbres binaires
猜你喜欢

How to use percona tool to add fields to MySQL table after interruption
![[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)](/img/cf/38e4035c3b318814672f21c8a42618.jpg)
[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)

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

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

Wechat Alipay account system and payment interface business process

《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究

XPT2046 四线电阻式触摸屏

爱可可AI前沿推介(7.2)

【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData

The outline dimension function application of small motherboard
随机推荐
floyed「建议收藏」
[leetcode] 200 number of islands
[leetcode] 577 reverse word III in string
PyObject 转 char* (string)
beforeEach
6092. 替换数组中的元素
【Salesforce】如何确认你的Salesforce版本?
6096. 咒语和药水的成功对数
[leetcode] 1140 stone game II
Soul torture, what is AQS???
《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
[leetcode] 167 - sum of two numbers II - enter an ordered array
Two traversal sequences are known to construct binary trees
2278. Percentage of letters in string
《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
【LeetCode】19-删除链表的倒数第N个结点
Aiko ai Frontier promotion (7.2)
Wise target detection 23 - pytoch builds SSD target detection platform
《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
【LeetCode】486-预测赢家