当前位置:网站首页>/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边栏推荐
- 【LeetCode】486-预测赢家
- 二叉树前,中,后序遍历
- 【LeetCode】877-石子游戏
- 【idea】推荐一个idea翻译插件:Translation「建议收藏」
- 【LeetCode】1140-石子游戏II
- [leetcode] 189 rotation array
- PHP static members
- [leetcode] 167 - sum of two numbers II - enter an ordered array
- College entrance examination score line climbing
- Wavedec2 in MATLAB, talk about the wavedec2 function [easy to understand]
猜你喜欢

Redux - detailed explanation

Pytoch saves tensor to Mat file
![[leetcode] 1162 map analysis](/img/9a/d04bde0417d4d5232950a4e260eb91.png)
[leetcode] 1162 map analysis

二叉树前,中,后序遍历

《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量

【LeetCode】1905-统计子岛屿

PTA ladder game exercise set l2-001 inter city emergency rescue

Aiko ai Frontier promotion (7.2)
![[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)

Ant group's large-scale map computing system tugraph passed the national evaluation
随机推荐
奥比中光 astra: Could not open “2bc5/[email protected]/6“: Failed to set USB interface
2022 college students in Liaoning Province mathematical modeling a, B, C questions (related papers and model program code online disk download)
【LeetCode】417-太平洋大西洋水流问题
Fastjson list to jsonarray and jsonarray to list "suggested collections"
PostgresSQL 流复制 主备切换 主库无读写宕机场景
Soul torture, what is AQS???
The task cannot be submitted after the installation of flick is completed
《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
【LeetCode】19-删除链表的倒数第N个结点
Custom exception
蚂蚁集团大规模图计算系统TuGraph通过国家级评测
使用 percona 工具给 MySQL 表加字段中断后该如何操作
C # get PLC information (kepserver) II
高考录取分数线爬虫
《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
【LeetCode】876-链表的中间结点
数组和链表的区别浅析
floyed「建议收藏」
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
College entrance examination admission score line crawler