Centos下:/usr/bin/ld: cannot find -lXext
来源:互联网 发布:java获取不到cookie 编辑:程序博客网 时间:2024/06/03 20:47
最近刚开始用centos,各种操作都在逐步摸索。
在安装ghostscript的时候,报错:/usr/bin/ld: cannot find -lXext
首先库命名方式为:lib+XXX+.so , 其中XXX表示函式库的名称。
根据网上许多类似问题的总结,基本为3步:1,系统中是否有对应的lib。 2,lib版本是否正确 3,是否连接到正确的函式库文件(.so)
在我这个问题中,我试着搜这个库,未果。于是直接进入安装一步。
因为是centos,和ubuntu还有些不同,许多教程写的方法不适用。且在ubuntu中库名libXext-dev,而centos中是libXext-devel。于是yum install libXext-devel。完成!
参考:http://blog.sina.com.cn/s/blog_4156950c0100sfzz.html
http://www.linuxidc.com/Linux/2012-08/68249.htm
0 0
- Centos下:/usr/bin/ld: cannot find -lXext
- CentOS /usr/bin/ld: cannot find -lstdc++
- /usr/bin/ld: cannot find -lpython3.5解决方案(CentOS)
- centos 解决/usr/bin/ld: cannot find -lfl 问题。
- /usr/bin/ld: /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lm /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lm /usr/bin/ld: cannot find -lc
- 解决:/usr/bin/ld: cannot find -lltdl
- /usr/bin/ld: cannot find -lltdl
- usr/bin/ld: cannot find 错误解决方法
- usr/bin/ld: cannot find 错误解决方法
- /usr/bin/ld: cannot find -lXt
- /usr/bin/ld: cannot find -lqte 解决方案 !
- 解决/usr/bin/ld: cannot find XXX
- linux /usr/bin/ld cannot find 解决
- /usr/bin/ld: cannot find -l*
- /usr/bin/ld: cannot find -lgcc_s
- /usr/bin/ld: cannot find -lmysqlclient
- IOS/Swift 通讯录步骤
- switch 中的return break
- 【HDU】 1242 Rescue
- tableview或者ScrollView看不到边界以外的内容
- java学习—day_6
- Centos下:/usr/bin/ld: cannot find -lXext
- float类型在值传递过程中出现的问题
- 项目管理十大知识范围
- poj 1611 The Suspects(并查集)
- 数据结构与算法学习
- 系统学习机器学习之参数方法(三)
- 网站开发进阶(二十九)HTML特殊转义字符
- 深度学习与计算机视觉系列(4)_最优化与随机梯度下降\数据预处理,正则化与损失函数
- setbuf函数使用注意事项