当前位置:网站首页>/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 -lssl
Problems 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.so
then , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libssl.so.1.0.2k /usr/lib/libssl.so
after , Compile and execute again configure that will do
[[email protected] ~]# ./configure
边栏推荐
- [leetcode] 1254 - count the number of closed Islands
- Experiment collection of University "Fundamentals of circuit analysis". Experiment 4 - Research on linear circuit characteristics
- Use ffmpeg command line to push UDP and RTP streams (H264 and TS), and ffplay receives
- Custom exception
- SQL修改语句
- For the problem that Folium map cannot be displayed, the temporary solution is as follows
- 《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
- 全是精华的模电专题复习资料:基本放大电路知识点
- Why does the system convert the temp environment variable to a short file name?
- 【LeetCode】877-石子游戏
猜你喜欢
Pytoch saves tensor to Mat file
[network security] network asset collection
【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
Soul torture, what is AQS???
Loss function and positive and negative sample allocation: Yolo series
愛可可AI前沿推介(7.2)
Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
How to use percona tool to add fields to MySQL table after interruption
《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
Wechat Alipay account system and payment interface business process
随机推荐
Golang MD5 encryption and MD5 salt value encryption
【Leetcode】167-两数之和II -输入有序数组
[leetcode] 876 intermediate node of linked list
【LeetCode】876-链表的中间结点
【LeetCode】1020-飞地的数量
(万字精华知识总结)Shell脚本编程基础知识
Cultural scores of summer college entrance examination
/bin/ld: 找不到 -lxml2
folium地图无法显示的问题,临时性解决方案如下
【LeetCode】189-轮转数组
Fiddler实现手机抓包——入门
解决BASE64Encoder报错的问题
6090. Minimax games
《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
folium,确诊和密接轨迹上图
Locate: cannot execute stat() `/var/lib/mlocate/mlocate Db ': there is no such file or directory
【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
【LeetCode】877-石子游戏
[network security] network asset collection