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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.