in reply to https on OSX 10.3 crypto failure

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