当前位置:网站首页>/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边栏推荐
- Moveit obstacle avoidance path planning demo
- /bin/ld: 找不到 -lpam
- SQL FOREIGN KEY
- 2022 college students in Liaoning Province mathematical modeling a, B, C questions (related papers and model program code online disk download)
- PTA ladder game exercise set l2-001 inter city emergency rescue
- SQL modification statement
- 目标检测—利用labelimg制作自己的深度学习目标检测数据集
- 【LeetCode】977-有序數組的平方
- Analysis of the difference between array and linked list
- 树-二叉搜索树
猜你喜欢
随机推荐
[leetcode] 167 - sum of two numbers II - enter an ordered array
Fastjson list to jsonarray and jsonarray to list "suggested collections"
全是精华的模电专题复习资料:基本放大电路知识点
Wechat Alipay account system and payment interface business process
蚂蚁集团大规模图计算系统TuGraph通过国家级评测
[2. Basics of Delphi grammar] 3 Object Pascal constants and variables
6096. Success logarithm of spells and potions
Ant group's large-scale map computing system tugraph passed the national evaluation
PHP static members
2303. 计算应缴税款总额
[leetcode] 486 predict winners
(万字精华知识总结)Shell脚本编程基础知识
已知兩種遍曆序列構造二叉樹
Use ffmpeg command line to push UDP and RTP streams (H264 and TS), and ffplay receives
Moveit obstacle avoidance path planning demo
Redux - detailed explanation
动态规划入门二(5.647.62)
数字藏品系统开发(程序开发)丨数字藏品3D建模经济模式系统开发源码
[leetcode] 695 - maximum area of the island
【LeetCode】200-岛屿数量




![[salesforce] how to confirm your salesforce version?](/img/ce/4c844b1b686397faa1b6aa3d57e034.png)




