解决办法:configure: error: C compiler cannot create executables错误

简介: 解决办法:configure: error: C compiler cannot create executables错误

  本脑残庞大的编译系统,突然出错,而且莫名其妙:

checking whether the C compiler works... no
configure: error: in `。。。。。。':
configure: error: C compiler cannot create executables
See `config.log'

  大哥,吾这是招你惹你了?网上搜索了一些文章,没用。有一篇文章说是缺少了东西,要看config.log。怎么办?别的招法不灵,那就看吧。


    向上翻,略过一些类似警告的东西,看到一句:


    /usr/bin/ld; cannot find /usr/lib64/libc_nonshared.a


    搜索,果然没有。另外一台机器上搜索,有。复制过来,编译成功!



    那么这个文件怎么丢失的?真不知道。


 


目录
相关文章
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
解决办法:configure: error: C compiler cannot create executables错误
解决办法:configure: error: C compiler cannot create executables错误
439 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
93 0
|
Java
解决办法:Invalid Gradle JDK configuration found
解决办法:Invalid Gradle JDK configuration found
472 1
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
283 0
编译OpenJDK8:configure: error: Could not find all X11 headers
编译OpenJDK8:configure: error: Could not find all X11 headers
128 0
|
Android开发
INSTALL_FAILED_TEST_ONLY的解决办法
INSTALL_FAILED_TEST_ONLY的解决办法
201 0
|
应用服务中间件 Linux nginx
./configure: error: C compiler cc is not found
./configure: error: C compiler cc is not found
651 0
|
数据可视化 编译器 Windows
CMake“cmake is not able to compile a simple test program”错误 的解决方法
CMake“cmake is not able to compile a simple test program”错误 的解决方法
373 0
关于 编译软件时报错“xdo.c:29:34: fatal error: X11/extensions/XTest.h:”错误 的解决方法
关于 编译软件时报错“xdo.c:29:34: fatal error: X11/extensions/XTest.h:”错误 的解决方法
关于 编译软件时报错“xdo.c:29:34: fatal error: X11/extensions/XTest.h:”错误 的解决方法