当前位置:网站首页>/Bin/ld: cannot find -lgssapi_ krb5
/Bin/ld: cannot find -lgssapi_ krb5
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 -lgssapi_krb5Problems arise
/bin/ld: Can't find -lgssapi_krb5
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 libgssapi_krb5
/usr/lib64/libgssapi_krb5.so.2
/usr/lib64/libgssapi_krb5.so.2.2then , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libgssapi_krb5.so.2 /usr/lib/libgssapi_krb5.soafter , Compile and execute again configure that will do
[[email protected] ~]# ./configure边栏推荐
猜你喜欢

Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network

Why does the system convert the temp environment variable to a short file name?
![[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] 1905 statistics sub Island](/img/82/d2f7b829f5beb7f9f1eabe8d101ecb.png)
[leetcode] 1905 statistics sub Island

Ant group's large-scale map computing system tugraph passed the national evaluation

全是精华的模电专题复习资料:基本放大电路知识点

Deux séquences ergodiques connues pour construire des arbres binaires

Two traversal sequences are known to construct binary trees

Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit

Custom exception
随机推荐
Pyinstaller's method of packaging pictures attached to exe
【LeetCode】417-太平洋大西洋水流问题
Some problems about pytorch extension
[leetcode] 417 - Pacific Atlantic current problem
[idea] recommend an idea translation plug-in: translation "suggestions collection"
6096. 咒语和药水的成功对数
beforeEach
【Leetcode】167-两数之和II -输入有序数组
Fastjson list to jsonarray and jsonarray to list "suggested collections"
6095. 强密码检验器 II
PTA 天梯赛习题集 L2-001 城市间紧急救援
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
locate: 无法执行 stat () `/var/lib/mlocate/mlocate.db‘: 没有那个文件或目录
Loss function and positive and negative sample allocation: Yolo series
【LeetCode】1905-统计子岛屿
SQL modification statement
Xpt2046 four wire resistive touch screen
[leetcode] 1020 number of enclaves
[leetcode] 1162 map analysis
2279. Maximum number of backpacks filled with stones