当前位置:网站首页>/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_krb5
Problems 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.2
then , Create a library file soft link
[[email protected] ~]# ln -s /usr/lib64/libgssapi_krb5.so.2 /usr/lib/libgssapi_krb5.so
after , Compile and execute again configure that will do
[[email protected] ~]# ./configure
边栏推荐
- 【LeetCode】1140-石子游戏II
- 数字藏品系统开发(程序开发)丨数字藏品3D建模经济模式系统开发源码
- Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
- Fiddler realizes mobile packet capturing - getting started
- Target detection - make your own deep learning target detection data set with labelimg
- /bin/ld: 找不到 -llz4
- Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
- [leetcode] 695 - maximum area of the island
- 6090. Minimax games
- College entrance examination admission score line climbing
猜你喜欢
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
PTA ladder game exercise set l2-001 inter city emergency rescue
动态规划入门二(5.647.62)
Thoroughly understand browser strong cache and negotiation cache
使用 percona 工具给 MySQL 表加字段中断后该如何操作
【LeetCode】1254-统计封闭岛屿的数量
[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)
全是精华的模电专题复习资料:基本放大电路知识点
Aike AI frontier promotion (7.2)
The outline dimension function application of small motherboard
随机推荐
Name of institution approved in advance
Loss function and positive and negative sample allocation: Yolo series
Experiment collection of University "Fundamentals of circuit analysis". Experiment 4 - Research on linear circuit characteristics
College entrance examination admission score line crawler
奥比中光 astra: Could not open “2bc5/[email protected]/6“: Failed to set USB interface
Wise target detection 23 - pytoch builds SSD target detection platform
【LeetCode】19-删除链表的倒数第N个结点
[experience cloud] how to get the metadata of experience cloud in vscode
【LeetCode】283-移动零
[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)
Golang MD5 encryption and MD5 salt value encryption
[leetcode] 1020 number of enclaves
[leetcode] 1905 statistics sub Island
For the problem that Folium map cannot be displayed, the temporary solution is as follows
Pytoch saves tensor to Mat file
locate: 无法执行 stat () `/var/lib/mlocate/mlocate.db‘: 没有那个文件或目录
动态规划入门二(5.647.62)
2303. 计算应缴税款总额
Target detection - make your own deep learning target detection data set with labelimg
【LeetCode】1254-统计封闭岛屿的数量