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

Re: Net-SSLeay problem in perl for Windows

by syphilis (Archbishop)
on Dec 18, 2019 at 02:38 UTC ( [id://11110312]=note: print w/replies, xml ) Need Help??


in reply to Net-SSLeay problem in perl for Windows

Hi,

If the reason for the crash is, as they've told you, that Net::SSLeay is too old then you're only option is to obtain a more recent version of Net::SSLeay.
If ppm is unable to provide the update then you'd have to build and install a later version from the Net::SSLeay source distribution.
Another alternative is to install a fresh perl installation that either includes a later Net::SSLeay or provides a ppm package for it.

Hint: Strawberry Perl 5.30.0 ships with Net-SSLeay-1.88 already installed.

Cheers,
Rob
  • Comment on Re: Net-SSLeay problem in perl for Windows

Replies are listed 'Best First'.
Re^2: Net-SSLeay problem in perl for Windows
by cavac (Parson) on Dec 18, 2019 at 16:24 UTC

    Strawberry also seems to work quite nicely with Komodo IDE as far as i remember.

    But to tell the truth, i've been using ActivePerl for a decade on and off for developing windows tools. The included SSL stuff was always a bit flaky and worked in some ActivePerl versions and behaved oddly or was just plain broke in many others.

    After ActiveState stopped supporting the PDK (i used it to make windows services), i switched to Strawberry but kept using Komodo. Even when using ActivePerl, i build as much as possible from CPAN (yes it's included in the install) and avoided ActiveStates precompiled and outdated modules - working with the precomipled stuff always felt too much like "Debian Stable" (a.k.a. the retirement home for old software).

    perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'
Re^2: Net-SSLeay problem in perl for Windows
by lbrandewie (Acolyte) on Dec 19, 2019 at 21:51 UTC

    Thanks, investigating that now.

    Lars

      Strawberry perl makes my test code run fine, so that's solved. But my app does not because the Tkx libraries are not included (it's a GUI app). My simple attempt to install them using "cpan Tkx" failed because Tcl wouldn't install for some reason. Trying "cpan Tcl" also failed, apparently because it calls tclsh, which doesn't exist.

      For additional fun, I reinstalled ActivePerl and tried "cpan Net::SSLeay" which failed because it said it couldn't find OpenSSL. "cpan OpenSSL" failed because it couldn't find the namespace. I would seem to be stuck until ActiveState updates their code.

      Lars

        But my app does not because the Tkx libraries are not included

        I don't know how difficult it is to install Tkx on Strawberry Perl (or any other perl for that matter) as it's something I've not tried.

        If you think it's worth the effort, installing a Strawberry Perl that's binary-compatible with ActivePerl would allow your Strawberry Perl to access the ActivePerl Tkx installation.

        That is, if your ActivePerl is at version 5.X.b, you:
        1) Install Strawberry Perl version 5.X.a (where a <= b);
        2) Update Net::SSLeay (cpan -i Net::SSLeay) if Strawberry Perl's version of it is too old and buggy;
        3) Append the location of ActivePerl's Tkx to Strawberry Perl's @INC. (Actually, I think use lib; is the usual approach).

        If Tkx is accessing 3rd party dlls, then you may also need to modify the Strawberry Perl PATH setting to include the location of those dlls.

        Cheers,
        Rob
        Youre confusing openssl library for a perl/cpan module. Its not. Alien::OpenSSL might install it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found