Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Perl Net::LDAPS issue with Perl version 5.24 and 5.26, works with Perl version 5.34.

by syphilis (Archbishop)
on Oct 20, 2021 at 11:24 UTC ( [id://11137794]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl Net::LDAPS issue with Perl version 5.24 and 5.26, works with Perl version 5.34.
in thread Perl Net::LDAPS issue with Perl version 5.24 and 5.26, works with Perl version 5.34.

C:\Strawberry\c\bin\gmake.exe ...

That suggests that perl-5.24 and perl-5.26 are both Strawberry Perl.
But what is perl-5.34 ?
AFAIK it can't be Strawberry Perl because no Strawberry Perl 5.34 has yet been released.

Could it be that the difference in behaviour arises because, unlike 5.24 and 5.26, 5.34 is running on a different operating system ?
What is the output of perl -V:archname for each of the three perls ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Perl Net::LDAPS issue with Perl version 5.24 and 5.26, works with Perl version 5.34.
by Anonymous Monk on Oct 20, 2021 at 14:41 UTC

    Hi, Thank you for the reply. Yes, it's not strawberry 5.34 but it's 5.32.1, sorry for that.

    Both Strawberry Perl 5.26 and Strawberry Perl 5.32.1 are on the same machine.

    output of perl -V:archname is same for both the Perl versions i.e., archname='MSWin32-x64-multi-thread';

    Note, i have Perl 5.24 (not strawberry) but gets same error with Net::LDAPS which i get it from Strawberry Perl 5.32.1.

    Thank you.

      UPDATE:

      Hi, Thank you for the reply. Yes, it's not strawberry 5.34 but it's 5.32.1, sorry for that.

      Both Strawberry Perl 5.26 and Strawberry Perl 5.32.1 are on the same machine.

      output of perl -V:archname is same for both the Perl versions i.e., archname='MSWin32-x64-multi-thread';

      Note, i have Perl 5.24 (not strawberry) but gets same error with Net::LDAPS which i get it from Strawberry Perl 5.26.

      Thank you.

        it's not strawberry 5.34 but it's 5.32.1, sorry for that

        Aah ... a mistake that's easy to make. (At least, I've found it to be easily made on occasions ;-)

        I don't quite understand your issue with IO::Socket and IO.
        With Strawberry 5.26.0 (archname='MSWin32-x64-multi-thread') I ran cpan -i IO, which successfully updated the IO module to version 0.48.
        I then ran:
        C:\_64\strawberry5.26.0>cpan -i IO::Socket Loading internal null logger. Install Log::Log4perl for logging messag +es CPAN: Storable loaded ok (v2.62) Reading 'C:\Users\sisyphus\.cpan\Metadata' Database was generated on Wed, 20 Oct 2021 20:55:51 GMT CPAN: Module::CoreList loaded ok (v5.20170530) IO::Socket is up to date (1.48).
        So there's nothing to be done there - I already have the latest.

        It's also possible that your Net::LDAPS issue lies with the actual ssl libraries that shipped with the older Strawberry versions.
        At some stage we might discover that, with perl-5.26.0, you need to build these modules against the OpenSSL C libraries that shipped with 5.32 - but I wouldn't worry about that until we have actual evidence that such action is needed.

        For example, see https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/15 for details re changes to the way that OpenSSL is built.
        In a nutshell, the OpenSSL libraries that shipped with 5.32.x were built without _MINGW_USE_VC2005_COMPAT.
        This was done to avoid an issue with MSWin32-x86-multi-thread (32-bit) perls - but I guess it could also have (unknowingly) benefited the MSWin32-x64-multi-thread builds, too.

        Update: Hmmm ... more likely, if the later OpenSSL libraries are needed it will be for an entirely different reason.

        Cheers,
        Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found