当前位置:网站首页>/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 -lpam
Problems 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.1
then , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libpam.so.0 /usr/lib/libpam.so
after , Compile and execute again configure that will do
[[email protected] ~]# ./configure
边栏推荐
猜你喜欢
动态规划入门一,队列的bfs(70.121.279.200)
The outline dimension function application of small motherboard
使用 percona 工具给 MySQL 表加字段中断后该如何操作
Thoroughly understand browser strong cache and negotiation cache
Redux - detailed explanation
Loss function and positive and negative sample allocation: Yolo series
2022 college students in Liaoning Province mathematical modeling a, B, C questions (related papers and model program code online disk download)
[leetcode] 1162 map analysis
[salesforce] how to confirm your salesforce version?
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
随机推荐
Thoroughly understand browser strong cache and negotiation cache
Soul torture, what is AQS???
【LeetCode】1140-石子游戏II
beforeEach
将点云坐标转换成世界坐标的demo
Add an empty column to spark dataframe - add an empty column to spark dataframe
Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
[leetcode] 417 - Pacific Atlantic current problem
folium,确诊和密接轨迹上图
Experiment collection of University "Fundamentals of circuit analysis". Experiment 4 - Research on linear circuit characteristics
College entrance examination score line climbing
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收
Jsp+mysql006 community management system
matlab中wavedec2,说说wavedec2函数[通俗易懂]
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
[leetcode] 1254 - count the number of closed Islands
【LeetCode】200-岛屿数量
[leetcode] 19 delete the penultimate node of the linked list
Astra: could not open "2bc5/ [email protected] /6“: Failed to set USB interface
6096. Success logarithm of spells and potions