Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am getting below error while installing the Net::SSLeay module with Perl version 5.24 and openssl version 1.1.0
Note that i have installed openssl again on my system using script which is already there and it went well, no errors while installing openssl, one thing script does is to copies two dlls (libssl-1_1.dll and libcrypto-1_1.dll) to the Net::SSLeay folder in in the site/auto but since i am not able to install Net::SSLeay I dont have that folder..
dmake: Error code 129, while making 'blib\arch\auto\Net\SSLeay\SSLeay.dll
What needs to be done in order to have Net::SSLeay (latest version 1.90) installed on windows without any error.
Any help regarding this would be appreciated.
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error while installing the Net::SSLeay module on windows.
by Corion (Patriarch) on Oct 27, 2021 at 11:02 UTC | |
Maybe the steps in OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24. help you? Also, the interesting error messages are in the lines before the line you posted. | [reply] |
by Anonymous Monk on Oct 27, 2021 at 16:04 UTC | |
Hi Corion, Thank you, let me check it. | [reply] |
|
Re: Error while installing the Net::SSLeay module on windows.
by syphilis (Archbishop) on Oct 27, 2021 at 11:38 UTC | |
Some info on your build of perl might be helpful. What does perl -V:archname output ? I can tell you that Net-SSLeay-1.90 built, tested and installed fine for me on Strawberry Perl 5.24.0. But that build of Net-SSLeay-1.90 was made against OpenSSL 1.0.2j, and maybe there is some issue with OpenSSL 1.1.0. Best to give us the full output of your attempt to build and install Cheers, Rob | [reply] [d/l] |
by Anonymous Monk on Oct 27, 2021 at 13:47 UTC | |
Hi Rob, output for perl -V:archname output is : archname='MSWin32-x86-multi-thread'; output for build and install for Net::SSLeay is given below
| [reply] [d/l] |
by syphilis (Archbishop) on Oct 27, 2021 at 14:18 UTC | |
The import libraries are not being found. Actually, they might be 'static' libraries ... anyway, I think they're named 'libssleay32.a' and 'libssl32.a' on my Strawberry Perl installations ... and they need to be locatable, or you'll get those "undefined reference" messages that you're seeing. Where is libssleay32.a (or libssleay32.dll.a) on your system ? I recommend setting the LIBRARY_PATH environment variable to the location of that '.a' file, and trying again. BTW, I happen to have an 'MSWin32-x86-multi-thread' build of Strawberry Perl 5.24. So I ran cpan -i Net::SSLeay and it installed version 1.90 without any trouble at all (built against OpenSSL 1.0.2h). Cheers, Rob | [reply] [d/l] [select] |
by Anonymous Monk on Oct 27, 2021 at 18:44 UTC | |
by syphilis (Archbishop) on Oct 28, 2021 at 00:23 UTC | |
by NERDVANA (Priest) on Oct 29, 2021 at 08:58 UTC | |
| [reply] |
by syphilis (Archbishop) on Oct 29, 2021 at 12:27 UTC | |