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?? |
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: Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|