当前位置:网站首页>/Bin/ld: cannot find -lpam
/Bin/ld: cannot find -lpam
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 -lpamProblems arise
/bin/ld: Can't find -lpam
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 libpam
/usr/lib64/libpam.so.0
/usr/lib64/libpam.so.0.83.1
/usr/lib64/libpam_misc.so.0
/usr/lib64/libpam_misc.so.0.82.0
/usr/lib64/libpamc.so.0
/usr/lib64/libpamc.so.0.82.1then , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libpam.so.0 /usr/lib/libpam.soafter , Compile and execute again configure that will do
[[email protected] ~]# ./configure边栏推荐
- Floyed "suggestions collection"
- Xpt2046 four wire resistive touch screen
- fastjson List转JSONArray以及JSONArray转List「建议收藏」
- /Bin/ld: cannot find -llz4
- Solve the problem of base64encoder error
- 6096. Success logarithm of spells and potions
- How to use percona tool to add fields to MySQL table after interruption
- Pyinstaller打包exe附带图片的方法
- [leetcode] 283 move zero
- 2279. Maximum number of backpacks filled with stones
猜你喜欢

Wechat Alipay account system and payment interface business process

Xpt2046 four wire resistive touch screen

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

蚂蚁集团大规模图计算系统TuGraph通过国家级评测

【LeetCode】1905-统计子岛屿

PostgresSQL 流复制 主备切换 主库无读写宕机场景

【LeetCode】417-太平洋大西洋水流问题

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

动态规划入门二(5.647.62)

树-二叉搜索树
随机推荐
6095. 强密码检验器 II
【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
folium地图无法显示的问题,临时性解决方案如下
6090. 极大极小游戏
[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)
[leetcode] 486 predict winners
6091. 划分数组使最大差为 K
lseek 出错
使用 percona 工具给 MySQL 表加字段中断后该如何操作
【LeetCode】1140-石子游戏II
Fastjson list to jsonarray and jsonarray to list "suggested collections"
【LeetCode】200-岛屿数量
[leetcode] 1140 stone game II
[leetcode] 695 - maximum area of the island
[leetcode] 577 reverse word III in string
解决BASE64Encoder报错的问题
/bin/ld: 找不到 -llz4
Name of institution approved in advance
Basic knowledge of cryptography
[experience cloud] how to get the metadata of experience cloud in vscode