当前位置:网站首页>/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边栏推荐
- 全是精华的模电专题复习资料:基本放大电路知识点
- 睿智的目标检测23——Pytorch搭建SSD目标检测平台
- 2279. 装满石头的背包的最大数量
- [leetcode] 486 predict winners
- lseek 出错
- [leetcode] 283 move zero
- 《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
- Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
- [2. Basics of Delphi grammar] 3 Object Pascal constants and variables
- Strings and arrays
猜你喜欢

动态规划入门一,队列的bfs(70.121.279.200)

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

Two traversal sequences are known to construct binary trees

Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
![[salesforce] how to confirm your salesforce version?](/img/ce/4c844b1b686397faa1b6aa3d57e034.png)
[salesforce] how to confirm your salesforce version?

Aike AI frontier promotion (7.2)
![[leetcode] 417 - Pacific Atlantic current problem](/img/30/c541bc1e81eb4e348ca11116a05e84.png)
[leetcode] 417 - Pacific Atlantic current problem

(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice

PostgresSQL 流复制 主备切换 主库无读写宕机场景
![[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)
随机推荐
【LeetCode】1254-统计封闭岛屿的数量
Pyinstaller's method of packaging pictures attached to exe
How to use percona tool to add fields to MySQL table after interruption
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
[leetcode] 977 - carré du tableau ordonné
Locate: cannot execute stat() `/var/lib/mlocate/mlocate Db ': there is no such file or directory
6096. Success logarithm of spells and potions
6095. 强密码检验器 II
/Bin/ld: cannot find -lxslt
Fiddler realizes mobile packet capturing - getting started
beforeEach
2279. 装满石头的背包的最大数量
Target detection - make your own deep learning target detection data set with labelimg
Wavedec2 in MATLAB, talk about the wavedec2 function [easy to understand]
Experiment collection of University "Fundamentals of circuit analysis". Experiment 4 - Research on linear circuit characteristics
/bin/ld: 找不到 -lssl
fastjson List转JSONArray以及JSONArray转List「建议收藏」
制作p12证书[通俗易懂]
Basic knowledge of cryptography
Demo of converting point cloud coordinates to world coordinates