perl error when using modules

Peng Yu pengyu.ut at gmail.com
Mon Oct 4 17:37:10 PDT 2010


Hi,

When I run a perl program that calls SSLeay, I get the following
error. I try to install SSLeay by 'cpan Net::SSLeay', but the problem
is still not solved. Could you please let me know how to fix the
problem?

Can't load '/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level/auto/Net/SSLeay/SSLeay.bundle'
for module Net::SSLeay:
dlopen(/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level/auto/Net/SSLeay/SSLeay.bundle,
1): Library not loaded: /opt/local/lib/libssl.0.9.8.dylib
  Referenced from:
/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level/auto/Net/SSLeay/SSLeay.bundle
  Reason: image not found at
/opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 230.
 at wsp.pl line 88
Compilation failed in require at wsp.pl line 88.
BEGIN failed--compilation aborted at wsp.pl line 88.


-- 
Regards,
Peng


More information about the macports-users mailing list