- 论坛徽章:
- 0
|
今天用CPAN来装Net::SMTP::TLS时显示Net::SMTP::TLS is up to date.
但是在perl脚本里用到use Net::SMTP::TLS时却显示:
Can't locate Net/SSLeay.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.12.4/Net/SMTP/TLS.pm line 89.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.12.4/Net/SMTP/TLS.pm line 89.
PS:之前手动装Net::SMTP::TLS时报Warning: prerequisite Net::SSLeay 0 not found.
但是当我装Net::SSLeay时却说:
Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
*** Found OpenSSL-1.0.0d installed in /usr
*** That's newer than what this module was tested with
You should consider checking if there is a newer release of this module
available. Everything will probably work OK, though.
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
and Net::SSLeay. Mixing and matching compilers is not supported. |
|