in reply to Re: https on OSX 10.3 crypto failure
in thread https on OSX 10.3 crypto failure

That worked!! The Library! Maybe that was it.. I did: sudo cpan then cpan> install Crypt::SSLeay
the Encryption.SSL text document included only says Crypt.SSLeay, not Net::SSLeay. I guess I should have known that?
Anyhow, perhaps that was the problem, I was going after the wrong library?
Your method of installing the module, being the lamer newbie I am I haven't seen it before, but it appears to be similar to what Cpan does. Is that a correct assumption, and is your way a better way to install modules?
Thank you, So much!
Tim
  • Comment on Re: Re: https on OSX 10.3 crypto failure

Replies are listed 'Best First'.
Re: Re: Re: https on OSX 10.3 crypto failure
by fokat (Deacon) on Jan 02, 2004 at 13:39 UTC
    That worked!!

    I'm glad it worked for you. I see that your install is looking for OpenSSL under /usr/local/lib. Perhaps you could succeed by telling the installer to look under /usr/lib instead.

    The look command from the CPAN module, allows you to manually look into a distribution. It is useful for complex installations. Indeed, I wanted to take a look at Net::SSLeay since I've never installed it and I assumed you followed the standard recipe. 99% of the time, you can issue the more standard install command.

    Best regards

    -lem, but some call me fokat

      For anyone who runs into the same problem I did.. Loading the below libraries will enable you to load the bottom code.. You'll need LWP also, but that's not shown here. You need to install IO::Socket::SSL and Net::SSLeay. Examples of how to install here <credits to fokat above>.
      sudo perl -MCPAN -e shell look Net::SSLeay perl Makefile.PL -t make install
      Example test code:
      #!/usr/bin/perl use LWP::Simple; my $url ='https://www.paypal.com'; #Notice the s in httpS my $content = get $url; print $content;