【发布时间】:2012-02-22 08:04:36
【问题描述】:
我在 Solaris 10 上运行。
我从 sunfreeware 下载并安装了 perl。
当我尝试执行 CPAN 命令时,出现以下错误。
# perl -MCPAN -e shell
Now you need to choose your CPAN mirror sites. You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.
Would you like me to automatically choose the best CPAN mirror
sites for you? (This means connecting to the Internet and could
take a couple minutes) [yes]
Trying to fetch a mirror list from the Internet
LWP not available
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/5.12.3/i86pc-solaris/auto/Socket/Socket.so: symbol inet_aton: referenced symbol not found
Killed
#
ldd似乎没有问题
# ldd /usr/local/lib/perl5/5.12.3/i86pc-solaris/auto/Socket/Socket.so
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
知道我错过了什么吗?
【问题讨论】:
-
谢谢。但是经过它之后,我仍然无法真正弄清楚解决方案。这是否意味着我必须手动编译模块及其依赖项?
标签: perl solaris-10