Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by NERDVANA (Deacon)
on Oct 29, 2021 at 08:58 UTC ( [id://11138184]=note: print w/replies, xml ) Need Help??


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

To help translate what is going on there, the mass of errors are all saying "the SSLeay code referred to a piece of OpenSSL named XXX but now that it's time to combine the compiled code of SSLeay with OpenSSL we can't find that named thing". Since there are so many things it can't find, it probably didn't find libssl-1_1.dll at all. The reason it might not find the dll at all was if it wasn't looking in the right place. The list of places it looks are all the directories starting with -L on the command line. If your OPENSSL_PREFIX is not in that list, then something went wrong with building the Makefile. Maybe start from scratch after defining the prefix variable?
  • Comment on Re^3: Error while installing the Net::SSLeay module on windows.

Replies are listed 'Best First'.
Re^4: Error while installing the Net::SSLeay module on windows.
by syphilis (Archbishop) on Oct 29, 2021 at 12:27 UTC
    Since there are so many things it can't find, it probably didn't find libssl-1_1.dll at all.

    Normally, libssl-1_1.dll would only need to be found at run-time - and this is easily achieved by simply ensuring that the location of that dll is included in the PATH environment variable.
    Also, I have this notion (from way back in the distant past when I used to build a lot of stuff on windows) that, if the build were being done against a shared library (dll), then the undefined symbols would all begin with something like imp_ or __imp_... and they don't. So I'm thinking the build is being done against static OpenSSL libraries.
    (Is that notion of mine correct ?)
    The errors that the OP is reporting are happening at link-time.

    The thing that irritates me a little is that if the OP could be bothered installing Strawberry Perl 5.32.x (where 'x' is either '0' or '1') then he could simply run cpan -i Net::SSLeay and end up with a Net-SSLeay-1.90 installation that was built against OpenSSL-1.1.1g.
    If it really needs to be built against OpenSSL-1.1.0, then he could install Strawberry Perl 5.28.x (which ships with OpenSSL-1.1.0h) and then run cpan -i Net::SSLeay.

    Alas, I get the impression that there might also be the stipulation that the upgrade to Net-SSLeay-1.90 be achieved via some unknown and unnecessary batch script.
    But we have very few details ....

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found