Dear ecuguru:

Without more context, your question is at best, hard to answer. You fail to state why do you need to force the installation of Net::SSLeay. This, along with the description of the error you provide, makes me think you need to install the correct version of the OpenSSL library, or tell Net::SSLeay where to find it.

The following, is what I can find in my system (Mac OS X 10.3):

maclem:~ lem$ find /usr/lib -name *ssl*
/usr/lib/libssl.0.9.7.dylib
/usr/lib/libssl.0.9.dylib
/usr/lib/libssl.dylib
/usr/lib/pkgconfig/openssl.pc

No significant hits appear at Mac-specific library directories. I also tried this:

maclem:~ lem$ egrep -i add_all_algorithms /usr/lib/*ssl*
maclem:~ lem$ egrep -i add_all_algorithms /usr/lib/pkgconfig/*ssl*

Which means the method you cite as missing, is not included in any of my system's libraries, which as seen below, are OpenSSL:

maclem:~ lem$ strings /usr/lib/libssl.0.9.7.dylib | egrep OpenSSL
SSLv2 part of OpenSSL 0.9.7b 10 Apr 2003
SSLv3 part of OpenSSL 0.9.7b 10 Apr 2003
SSLv2/3 compatibility part of OpenSSL 0.9.7b 10 Apr 2003
TLSv1 part of OpenSSL 0.9.7b 10 Apr 2003
OpenSSL 0.9.7b 10 Apr 2003

You can use fink to install packages openssl-* and then, attempt to build Net::SSLeay. You probably should install openssl and openssl-dev. Feel free to message me about fink, as that is too non-Perl related to add here.

Update: I just went ahead and installed Net::SSLeay on my system, using the following sequence of commands:

sudo perl -MCPAN -e shell
look Net::SSLeay
perl Makefile.PL -t
make install

The tests included with the distribution passed, so my suggestion would be to re-attempt the Net::SSLeay installation and capture the errors, so that we can take a look at them...

Best regards

-lem, but some call me fokat


In reply to Re: https on OSX 10.3 crypto failure by fokat
in thread https on OSX 10.3 crypto failure by ecuguru

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.