I ran pwhich and it reported that libeay32.dll would be fetched from
perl/bin. I pretty certain that the version in perl/bin was from the
Crypt-SSLeay install. (There is a post-install script that runs and
asks if you want to put libeay32 and another dll into perl/bin, to
which I answered yes.)

So I decided to go ahead and install 5.10.

My script runs OK under 5.10.

I'm now having some issues with re-installing ppm packages under 5.10.
I have an open question in win32-users on that issue -- not sure why I
put it there instead of here!!!??? Guess it seemed more
windows-specific :-)

THANKS Jan and Serguie for your help.

On Wed, Jun 10, 2009 at 3:00 PM,
<perl-win32-users-requ...@listserv.activestate.com> wrote:
> Send Perl-Win32-Users mailing list submissions to
>        perl-win32-us...@listserv.activestate.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> or, via email, send a message with subject or body 'help' to
>        perl-win32-users-requ...@listserv.activestate.com
>
> You can reach the person managing the list at
>        perl-win32-users-ow...@listserv.activestate.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Perl-Win32-Users digest..."
>
>
> Today's Topics:
>
>   1. Socket-Select problem (Anders Bostr?m)
>   2. LWP::UserAgent 'Ordinal not Found' (Phillip Richcreek)
>   3. RE: :UserAgent 'Ordinal not Found' (Jan Dubois)
>   4. Re: LWP::UserAgent 'Ordinal not Found' (Serguei Trouchelle)
>   5. RE: LWP::UserAgent 'Ordinal not Found' (Jan Dubois)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 10 Jun 2009 13:15:53 +0200
> From: Anders Bostr?m <anders.bost...@mollehem.se>
> Subject: Socket-Select problem
> To: Perl-Win32-Users@listserv.ActiveState.com
> Message-ID: <4a2f95e9.2040...@mollehem.se>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Hello,
>
> I have a server that listens for messages on a socket.
> It works fine for some time but then it suddenly stops acting on
> messages from the connections!
>
> It creates a local socket with IO::Socket::INET and then a select object
> with IO::Select.
> In a loop it checks for connections with "->can_read(5)".
>
> What happens is that clients connect and keeps the connection over some
> time (hours), so there are a lot of clients connected at the same time,
> but they are silent most of the time.
> All work well, until the server stops acting on messages, meaning
> "->can_read" does not return any handles.
> When checking the number of connections with "->handles", it is normally
> somewhere around 80 when this problem occurs.
> New connections are accepted ( "->handles" returns a higher value) but
> "->can_read" doesn't return the handle...
>
> Anyone that can give me a clue out of this?
>
> Thanks
> Anders
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Jun 2009 11:58:23 -0400
> From: Phillip Richcreek <pwrichcr...@gmail.com>
> Subject: LWP::UserAgent 'Ordinal not Found'
> To: win32-users list <perl-win32-users@listserv.ActiveState.com>
> Message-ID:
>        <a601662a0906100858l45e46261v28620492687f2...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I'm getting the following error(s) using LWP::UserAgent...
>
> (POP-UP)
> Perl.exe - Ordinal not found
> The ordinal 3212 could not be located in the dynamic
> link library LIBEAY32.dll
>
> (from perl script)
> 501 Protocol scheme 'https' is not supported
> (Crypt::SSLeay not installed) at getChaseChecking.pl
> line 21.
>
> I have, in fact, installed Crypt::SSLeay, which put LIBEAY32.dll into
> perl/bin. There ARE other LIBEAY32's present in the MSDOS path and I've
> tried using those as well and get the same result. I now have perl/bin at
> the front of the path. I also downloaded a ?more recent verions of LIBEAY32
> from sourceforge and got the same result.
>
> Here's the script, which is an example from LWP:UserAgent.
>
> TIA,
>
> Phil
>
> __________
> #usr/local/bin/perl
>
> use strict;
> use warnings;
>
> require LWP::UserAgent;
>
> my $ua = LWP::UserAgent->new;
> $ua->timeout(10);
> $ua->env_proxy; # I think this means don't use proxy server
>
> #my $response = $ua->get('http://search.cpan.org/');
> my $response = $ua->get('https://www.chase.com/');
>
> if ($response->is_success) {
> ? ? print $response->decoded_content; ?# or whatever
> }
> else {
> ? ? die $response->status_line;
> }
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 10 Jun 2009 09:58:40 -0700
> From: "Jan Dubois" <j...@activestate.com>
> Subject: RE: :UserAgent 'Ordinal not Found'
> To: "'Phillip Richcreek'" <pwrichcr...@gmail.com>,      "'win32-users
>        list'" <perl-win32-users@listserv.ActiveState.com>
> Message-ID: <009301c9e9ec$b570ec00$2052c4...@com>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> On Wed, 10 Jun 2009, Phillip Richcreek wrote:
>> I'm getting the following error(s) using LWP::UserAgent...
>>
>> (POP-UP) Perl.exe - Ordinal not found The ordinal 3212 could not be
>> located in the dynamic link library LIBEAY32.dll
>>
>> (from perl script) 501 Protocol scheme 'https' is not supported
>> (Crypt::SSLeay not installed) at getChaseChecking.pl line 21.
>>
>> I have, in fact, installed Crypt::SSLeay, which put LIBEAY32.dll into
>> perl/bin. There ARE other LIBEAY32's present in the MSDOS path and
>> I've tried using those as well and get the same result. I now have
>> perl/bin at the front of the path. I also downloaded a ?more recent
>> verions of LIBEAY32 from sourceforge and got the same result.
>
> This is indeed a problem of mismatched libeay32.dll files.  I'm not sure
> why putting perl/bin in front of the PATH doesn't help (are you sure
> libeay32.dll is in perl/bin and not perl/site/bin?).
>
> To avoid this kind of problem ActivePerl contains Crypt::SSLeay statically
> linked to OpenSSL, so it doesn't use libeay32.dll and ssleay32.dll at all.
> Therefore you may want to try to update to the latest ActivePerl if you
> cannot solve your problem any other way.
>
> Cheers,
> -Jan
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 10 Jun 2009 20:02:27 +0300
> From: Serguei Trouchelle <s...@railways.dp.ua>
> Subject: Re: LWP::UserAgent 'Ordinal not Found'
> To: win32-users list <perl-win32-users@listserv.ActiveState.com>
> Message-ID: <4a2fe723.7010...@railways.dp.ua>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Phillip Richcreek wrote:
>
>> I'm getting the following error(s) using LWP::UserAgent...
>>
>> (POP-UP)
>> Perl.exe - Ordinal not found
>> The ordinal 3212 could not be located in the dynamic
>> link library LIBEAY32.dll
>
> There's older version of libeay32.dll somewhere in your path.
>
> Run cmd.exe and type:
>
> set PATHEXT=%PATHEXT%;.DLL
> pwhich -a libeay32.dll
>
> First path will show you the actually used file. I'd get rid of other files 
> once you manage your script to work.
>
> Also, try to copy libeay32.dll from perl/bin to 
> /perl/site/lib/auto/Crypt/SSLeay
>
>> I have, in fact, installed Crypt::SSLeay, which put LIBEAY32.dll into
>> perl/bin. There ARE other LIBEAY32's present in the MSDOS path and I've
>> tried using those as well and get the same result. I now have perl/bin at
>> the front of the path. I also downloaded a  more recent verions of LIBEAY32
>> from sourceforge and got the same result.
>
> If it put dll to perl/bin, it's (very probably) Randy's repository, and 
> Crypt::SSLeay from there is definitely working.
> Try to find older dlls on your system.
>
> --
> Serguei Trouchelle
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 10 Jun 2009 10:28:41 -0700
> From: "Jan Dubois" <j...@activestate.com>
> Subject: RE: LWP::UserAgent 'Ordinal not Found'
> To: "'Serguei Trouchelle'" <s...@railways.dp.ua>,       "'win32-users list'"
>        <perl-win32-users@listserv.ActiveState.com>
> Message-ID: <00a001c9e9f0$e7aa72a0$b6ff57...@com>
> Content-Type: text/plain;       charset="us-ascii"
>
> On Wed, 10 Jun 2009, Serguei Trouchelle wrote:
>> Also, try to copy libeay32.dll from perl/bin to 
>> /perl/site/lib/auto/Crypt/SSLeay
>
> That is a good suggestion.  I don't remember off-hand if Crypt::SSLeay
> also needs ssleay32.dll, but generally it is a good idea to copy both DLLs
> as they are a matched pair.
>
> Cheers,
> -Jan
>
>
>
> ------------------------------
>
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
> End of Perl-Win32-Users Digest, Vol 35, Issue 8
> ***********************************************
>
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to