当前位置:网站首页>/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
边栏推荐
- 制作p12证书[通俗易懂]
- [leetcode] 977 - carré du tableau ordonné
- Solve the problem of base64encoder error
- Make p12 certificate [easy to understand]
- Digital collection system development (program development) - Digital Collection 3D modeling economic model system development source code
- 愛可可AI前沿推介(7.2)
- Wise target detection 23 - pytoch builds SSD target detection platform
- [leetcode] 189 rotation array
- [leetcode] 695 - maximum area of the island
- [leetcode] 19 delete the penultimate node of the linked list
猜你喜欢
随机推荐
高考录取分数线爬取
数组和链表的区别浅析
PyObject 转 char* (string)
Locate: cannot execute stat() `/var/lib/mlocate/mlocate Db ': there is no such file or directory
[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
ssh/scp 使不提示 All activities are monitored and reported.
Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
【LeetCode】19-删除链表的倒数第N个结点
Astra: could not open "2bc5/ [email protected] /6“: Failed to set USB interface
XPT2046 四线电阻式触摸屏
Make p12 certificate [easy to understand]
(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice
Pyinstaller打包exe附带图片的方法
/bin/ld: 找不到 -lcrypto
Redux - detailed explanation
/bin/ld: 找不到 -llz4
[leetcode] 977 - carré du tableau ordonné
【Salesforce】如何确认你的Salesforce版本?
[leetcode] 1020 number of enclaves