[Net-ssleay-devel] Net::SSLeay SSLeay.so: undefined symbol: MD2

Bill Ross rossbcan at gmail.com
Sun Dec 3 23:12:43 UTC 2017


Hi List;

 

OpenWrt x86_64

My perl and packages are cross-compiled

 

I am using Net::SSLeay  as a dependency of Crypt::LE

 

When testing (on target system), get "SSLeay.so: undefined symbol: MD2"

Even though I have also installed Digest:MD2

 

root at SecureOffice:/tmp/devsys#    perl -MNet::SSLeay -e
'($p)=Net::SSLeay::get_https("www.openssl.org", 443, "/"); print $p'

Can't load '/usr/lib/perl5/5.24/auto/Net/SSLeay/SSLeay.so' for module
Net::SSLeay: /usr/lib/perl5/5.24/auto/Net/SSLeay/SSLeay.so: undefined
symbol: MD2 at /usr/lib/perl5/5.24/DynaLoader.pm line 159.

at -e line 0.

Compilation failed in require.

BEGIN failed--compilation aborted.

 

Digest::MD2 contains the following files:

root at SecureOffice:/tmp/devsys# opkg files perl-digest-md2

Package perl-digest-md2 (2.04-1) is installed on root and has the following
files:

/usr/lib/perl5/5.24/Digest/MD2.pm

/usr/lib/perl5/5.24/auto/Digest/MD2/

/usr/lib/perl5/5.24/auto/Digest/MD2/MD2.so

 

I am at a loss as to how to specify Digest::MD2 as a perl dependency to
Net::SSLeay  so it is auto loaded.

Or, perhaps there is an openssl MD2 config issue.

 

Looking for advice how to proceed.

 

And yes, same compiler and flags for openssl and perl.

 

Regards;

Bill

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/net-ssleay-devel/attachments/20171203/2819cd9b/attachment.html>


More information about the Net-ssleay-devel mailing list