当前位置:网站首页>/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边栏推荐
- (5) Flink's table API and SQL update mode and Kafka connector case
- ssh/scp 使不提示 All activities are monitored and reported.
- Aike AI frontier promotion (7.2)
- 【LeetCode】695-岛屿的最大面积
- PTA 天梯赛习题集 L2-001 城市间紧急救援
- 2022 college students in Liaoning Province mathematical modeling a, B, C questions (related papers and model program code online disk download)
- 【LeetCode】189-轮转数组
- [leetcode] 1162 map analysis
- (4) Flink's table API and SQL table schema
- [leetcode] 283 move zero
猜你喜欢
![[experience cloud] how to get the metadata of experience cloud in vscode](/img/45/012c2265402ba1b44f4497f468bc61.png)
[experience cloud] how to get the metadata of experience cloud in vscode

使用 percona 工具给 MySQL 表加字段中断后该如何操作

Deux séquences ergodiques connues pour construire des arbres binaires
![[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)](/img/cf/38e4035c3b318814672f21c8a42618.jpg)
[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)

Why does the system convert the temp environment variable to a short file name?

Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
![[salesforce] how to confirm your salesforce version?](/img/ce/4c844b1b686397faa1b6aa3d57e034.png)
[salesforce] how to confirm your salesforce version?

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

Pytoch saves tensor to Mat file

Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
随机推荐
【idea】推荐一个idea翻译插件:Translation「建议收藏」
Thoroughly understand browser strong cache and negotiation cache
(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice
PyObject 转 char* (string)
2022 college students in Liaoning Province mathematical modeling a, B, C questions (related papers and model program code online disk download)
【LeetCode】189-轮转数组
Pytoch saves tensor to Mat file
Fastjson list to jsonarray and jsonarray to list "suggested collections"
Digital collection system development (program development) - Digital Collection 3D modeling economic model system development source code
[leetcode] 167 - sum of two numbers II - enter an ordered array
《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
[leetcode] 1020 number of enclaves
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
/Bin/ld: cannot find -lcrypto
全是精华的模电专题复习资料:基本放大电路知识点
folium,确诊和密接轨迹上图
Wise target detection 23 - pytoch builds SSD target detection platform
【LeetCode】344-反转字符串
Wavedec2 in MATLAB, talk about the wavedec2 function [easy to understand]
Custom exception