http://qs321.pair.com?node_id=11138049


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

Have you looked at the README.Win32, which has step-by-step instructions for various versions of Windows? Where do things fail for you?

I think the OPENSSL_PREFIX should be C:\foo\openssl, if openssl.exe lives in C:\foo\openssl\bin.

Replies are listed 'Best First'.
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

    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.

      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'

      I have set up OPENSSL_PREFIX on windows as a environment

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