编译错误 cannot find -lc
2018-01-31 15:05
239 查看
编译一个项目,make之后出现
解决方法是安装glibc库
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../libc.a when searching for -lc /bin/ld: skipping incompatible /lib/libc.a when searching for -lc /bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc /bin/ld: cannot find -lc collect2: error: ld returned 1 exit status
解决方法是安装glibc库
yum install glibc*x86_64
相关文章推荐
- gcc static静态编译选项提示错误修正(/usr/lib/ld: cannot find -lc)
- 关于QT编译中出现cannot find -lgobject-2.0的错误
- 解决编译代码出现/usr/bin/ld: cannot find -luuid错误 .
- linux/在软件编译时出现usr/bin/ld: cannot find -lxxx的错误
- Linux下编译C/C++时,出现/usr/bin/ld: cannot find -l*** 错误的处理
- 再再再说编译时遇到的cannot find -ltest错误
- 处理 /usr/bin/ld: cannot find -lc等编译问题
- 编译错误"/usr/bin/ld: cannot find -lz"
- android编译错误--/usr/bin/ld: cannot find -lz
- Ubuntu11.04 Android编译时遇到 cannot find -lncurses错误解决办法
- ubuntu下使用Qt 编译时cannot find -lGL错误解决
- 编译错误"/usr/bin/ld: cannot find -lz"
- 编译错误 ld: cannot find -lz
- 编译hostapd时,出现错误:/usr/bin/ld: cannot find -lnl
- QT 编译常见错误:usr/bin/ld: cannot find
- Qt常见make编译错误:/usr/bin/ld:cannot find -lxxx
- GCC 编译出错 /usr/bin/ld: cannot find -lc
- Linux_ubuntu环境下Qt无法编译代码显示-1: error: cannot find -lGL错误的解决方法
- wxwidgets DEBUG 编译错误解决.ld.exe: cannot find -lwxmsw28ud
- C#项目编译报“LC.exe已退出,代码为-1错误”解决办法