p5-net-ssleay
p5-net-ssleay copied to clipboard
Unable to install Net::SSLeay on activestate perl 5.28 in windows
Hi there,
I am having issues install Net::SSLeay module on windows. I am using Activestate perl 5.28 and openssl version 3.3.0.
I have attached the log files.
Is there a way to fix this?
Regards Pranav Duggal
Hi @chrisnovakovic ,
Just following up on my previous message regarding the module installation issue. Any updates or suggestions?
Thanks, Pranav Duggal
It looks like you have the OpenSSL binary but not the libcrypto and libssl libraries - could you recursively list the contents of C:\Program Files\OpenSSL?
Hi @chrisnovakovic,
libcrypto and libssl libraries are present inside C:\Program Files\OpenSSL\lib folder. Here is the structure of the folder
│ libcrypto.lib │ libssl.lib │ ├───cmake │ └───OpenSSL │ OpenSSLConfig.cmake │ OpenSSLConfigVersion.cmake │ ├───engines-3 │ capi.dll │ capi.pdb │ loader_attic.dll │ loader_attic.pdb │ padlock.dll │ padlock.pdb │ └───ossl-modules legacy.dll legacy.pdb
Regards Pranav Duggal
Your log file shows that the make command you are using picks up D:\Strawberry\c\bin\gcc.exe. However, you wrote that you'd like to compile for Activestate Perl. Could it be that the problem is caused by multiple different Perl distributions being installed on your machine?
Hi @h-vn, @chrisnovakovic ,
I am currently utilizing GCC from Strawberry Perl, as ActiveState Perl version 5.28 lacks MinGW support. Additionally, I've tested it on ActiveState Perl 5.26.3, which comes with MinGW by default, and encountered the same errors and warnings as in Perl 5.28.
Regards Pranav Duggal
Hi @h-vn , @chrisnovakovic ,
Just following up on my previous message regarding the module installation issue. Any updates or suggestions?
Thanks, Pranav Duggal
It doesn't look as if the linker is being asked to link to the OpenSSL libraries - I'd expect to see -lcrypto -lssl in the g++ invocation. What if you set PERL_MM_OPT='LIBS="-lcrypto -lssl"' before running Makefile.PL?