I see this frequently asked, so here is an answer:

I have successfully built Crypt::SSLeay 0.51 with OpenSSL 0.9.8b by
applying the following patch.  I *strongly* suspect it will work on
all unix platforms, but can only test on Solaris (Sunos 5.8 sun4u
sparc).

*** SSLeay.xs.orig      2003-05-28 01:55:02.000000000 -0500
--- SSLeay.xs   2006-10-26 06:44:49.610001000 -0500
***************
*** 107,112 ****
--- 107,113 ----
          int rand_bytes_read;
  
        if(!bNotFirstTime) {
+              SSL_library_init();
                 SSLeay_add_all_algorithms();
                 SSL_load_error_strings();
                 ERR_load_crypto_strings();




Brief Howto:

     cpan -m Crypt::SSLeay

answer the open ssl questions

     cd ${HOME}/.cpan/build/Crypt-SSLeay-0.51

     wget http://colo.cluon.com/ssl-patch

     patch -i ssl-patch

Expect to see "patching file SSLeay.xs"

     make

     make test

Expect to see 

[many deleted lines]
t/net_ssl........ok                                                          
t/ssl_context....ok                                                          
All tests successful.
Files=2, Tests=2,  1 wallclock secs ( 0.57 cusr +  0.22 csys =  0.79 CPU)

Say "Hurrah!"

    sudo make install


Reply via email to