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

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

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

 

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