【发布时间】:2016-06-11 02:07:05
【问题描述】:
我运行的是 centos 6.7,而 gcc 是 v4.4.7。
节点配置说 gcc 必须是 v4.8 或更高版本,因此从 rh toolset-2 安装 gcc v4.8.2。现在configure 很高兴,但make 失败并显示“找不到ld”。
在与 gcc v4.8.2 相同的目录中,有 ld-> 指向 /opt/rh/devtoolset-2/root/etc/alternatives/ld* 的符号链接,它指向 ld -> /opt/rh/ devtoolset-2/root/usr/bin/ld.bfd* .
有什么建议可以解决这个问题吗?谢谢!
【问题讨论】:
标签: node.js gcc centos centos6