Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24.

by Anonymous Monk
on Oct 26, 2021 at 08:57 UTC ( [id://11138053]=note: print w/replies, xml ) Need Help??


in reply to Re: OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24.
in thread OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24.

Hi Corion, Thank you for the revert.

I have set up OPENSSL_PREFIX on windows as a environment variable to "C:\app\perl_by_system\Win64\fp_lib" whereas openssl.exe resides in "C:\app\perl_by_system\Win64\fp_lib\bin".

I also tried printing the $ENV{OPENSSL_PREFIX} in MakeFile but it seems not recognizing the value in environment variable since its empty.

After setting path manually for openssl in Makefile.PL, it seems to be working but seems failing while gcc issue which seems libraries issue which i think should be resolved if i run it by script.

  • Comment on Re^2: OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24.

Replies are listed 'Best First'.
Re^3: OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24.
by NERDVANA (Deacon) on Oct 26, 2021 at 09:41 UTC
    Don’t forget that you need to open a new command prompt after changing environment variables.

    Try echo %OPENSSL_PREFIX% from the command prompt to make sure the variable is set before running the makefile.

      NERDVANA, Thank you.

      That worked but install failed with the below error.

      collect2.exe: error: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\Net\SSLeay\SSLeay.dll'

        The actual error should be higher up in the log output. This just tells you that linking failed. (the final step where code gets packaged into a dll after the compile phase)
Re^3: OpenSSL 1.1 support with latest version of Net::SSLeay with Perl version 5.24.
by Anonymous Monk on Oct 26, 2021 at 10:44 UTC

    I have set up OPENSSL_PREFIX on windows as a environment

    ;) the cmd.exe command is called "set"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2024-04-23 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found