Okay I'll try to give as detailed run down as I can.

I have a RedHat 7.2 box with the redhat perl rpm (latest errata) installed.  The 
system has openssl-0.9.6k compiled from source with the glibc patch.

The openssl has been compiled with rsaref20.1996 following the mod_ssl guideline.  It 
has also been tested without rsaref.

with rsaref it is compiled as such:

config no-idea -L`pwd`/../rsaref2.0/local rsaref -fPIC --prefix=/usr 
--openssldir=/usr/openssl

without rsaref it is compiled as such:

config --prefix=/usr --openssldir=/usr/openssl

rsaref was compiled:

mkdir rsaref-2.0
cd rsaref-2.0
tar xzvf ../rsaref20.1996.tar.Z
more doc/readme.txt
cp -rp install/unix local
cd local/
make
mv rsaref.a librsaref.a

and librsaref.a was copied to /usr/local/lib

openssl was then done in the following fashion for both compilation types

make
make install
make build-shared
cp -f libcrypto.so* /usr/lib
make link-shared
cp libssl* /usr/lib

after running perl Makefile.PL i edit the Makefile and add -L/usr/lib to the 
appropriate lines so that it checks both /usr/local/lib and /usr/lib (there is no 
duplication between these 2 directories)

The output is as follows starting at make

[EMAIL PROTECTED] Crypt-SSLeay-0.51]# make
cp lib/Net/SSL.pm blib/lib/Net/SSL.pm
cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm
cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm
cp SSLeay.pm blib/lib/Crypt/SSLeay.pm
cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm
cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm
cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap 
-typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c -I/usr/include -I/usr/kerberos/include -fno-strict-aliasing 
-I/usr/local/include -O2 -march=i386 -mcpu=i686   -DVERSION=\"0.51\" 
-DXS_VERSION=\"0.51\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE  SSLeay.c
Running Mkbootstrap for Crypt::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so
LD_RUN_PATH="/usr/lib:/usr/local/lib" gcc  -shared -L/usr/local/lib -L/usr/lib 
SSLeay.o  -o blib/arch/auto/Crypt/SSLeay/SSLeay.so   -L/usr/lib -lssl -lcrypto 
-lRSAglue -lrsaref
chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.so
cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs
Manifying blib/man3/Crypt::SSLeay.3pm
[EMAIL PROTECTED] Crypt-SSLeay-0.51]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/net_ssl........dubious
        Test returned status 0 (wstat 11, 0xb)
t/ssl_context....dubious
        Test returned status 0 (wstat 11, 0xb)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2

If I attempt to install it even though it fails the tests (did this for testing 
purposes) I get a segfault when trying to use https thru a perl program to post to a 
url.

I have been over this about 100 times today and no matter what I try I come up with 
pretty much the same results.  Any suggestions as to why I'm having so many problems 
are more than welcome.


[EMAIL PROTECTED]
http://www.red-dragon2.com
http://www.server-resources.com

Reply via email to