安装 SHA 时出错

安装 SHA 时出错

我正在尝试使用以下命令安装 SHA

perl -MCPAN -e 'install Digest::SHA'

我也尝试过使用:

sudo cpan

'install Digest::SHA'

但我收到一个链接器错误:

/usr/local/bin/ld: this linker was not configured to use sysroots 
collect2: error: ld returned 1 exit status 
make: *** [blib/arch/auto/Digest/SHA/SHA.so] Error 1 
MSHELOR/Digest-SHA-5.84.tar.gz 
/usr/bin/make -- NOT OK 
Running make test 
Can't test without successful make 
Running make install 
Make had returned bad status, install seems impossible

有人能帮我修复这个错误吗?我的 Ubuntu 版本是 12.04

答案1

我能够通过重新安装 binutils 来解决这个问题。

相关内容