您当前的位置: 首页 > 

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

柳鲲鹏 发布时间:2019-11-25 18:07:45 ,浏览量:0

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

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

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

 

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

 

关注
打赏
1688896170
查看更多评论

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4641博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.1051s