升级sudo至sudo-1.9.5p2时,遇到报错compiler cannot create executables,查看config.log,发现错误为collect2: fatal error: cannot find ‘ld’。
    对比环境后发现,gcc实际调用的应该是ld.bfd,检查/usr/bin/ld发现是软链接失效,重新建立软连接后,编译安装正常。

    离线安装gcc4.8.5https://blog.csdn.net/q5983901/article/details/88618500