Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Error while installing the Net::SSLeay module on windows.

by syphilis (Archbishop)
on Oct 28, 2021 at 00:23 UTC ( [id://11138130]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Error while installing the Net::SSLeay module on windows.
in thread Error while installing the Net::SSLeay module on windows.

i tried with upgrade openssl to 1.1.1l but having the same issue while installing Net::SSLeay

Your immediate problem has nothing to do with the version of OpenSSL being used.
The problem is that the Net::SSLeay-1.90 build is not linking to the OpenSSL libraries that can resolve those undefined references you're seeing.
On closer inspection, I find that my Strawberry Perl build of Net::SSLeay-1.90 links to OpenSSL libraries named 'libeay32.a', 'libssl32.a' and 'libcrypt32.a'.
Your unfound libraries (probably with the same names as mine, unless they've been built using a Microsoft Compiler) should be located somewhere within your OpenSSL installation.
For me, they were all in a folder named 'lib' - though libcrypt32.a was in a different 'lib' folder to the other 2.
Set the LIBRARY_PATH environment variable to the full path to that/those location(s). You separate multiple locations with ';' - same as with the PATH environment variable.

All Net::SSLeay builds begin with the perl Makefile.PL command.
Could you post the output you get for that part of the build process.
For me, I see:
C:\sisyphusion\Net-SSLeay-1.90>perl Makefile.PL Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] WARNING: can't open config file: /z/extlib/_2016Q2_/ssl/openssl.cnf *** Found OpenSSL-1.0.2h installed in C:\_32\strawberry5.24.0_32int\pe +rl\..\c *** Be sure to use the same compiler and options to compile your OpenS +SL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json
Cheers,
Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-24 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found