> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/ssl_context.......Can't load 'blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module 
>Crypt::SSLeay: ld.so.1: /usr/local/bin/perl: fatal: relocation
> error: file blib/arch/auto/Crypt/SSLeay/SSLeay.so: symbol SSL_set_fd: referenced 
>symbol not found at
> /usr/local/lib/perl5/5.6.1/i86pc-solaris/DynaLoader.pm line 206.
>  at blib/lib/Crypt/SSLeay/CTX.pm line 2

Are your openssl libs in your LD_LIBRARY_PATH ?  This could cause
this error.  If this is your fix, please confirm, as I'll 
make this an FAQ for Solaris platforms.

--Josh


> Terence Pua wrote:
> 
> i have solaris 8 running on an x86 machine and perl 5.6.1.
> 
> i'm trying to install Crypt::SSLeay and i get the following problems...
> 
> tpua@s6 ~torrance/.cpan/build/Crypt-SSLeay-0.35> sudo perl Makefile.PL
> Password:
> Found OpenSSL (version OpenSSL 0.9.6) installed at /usr/local/ssl
> Which OpenSSL build path do you want to link against? [/usr/local/ssl]
> 
> ================================================
> BUILD INFORMATION
> ================================================
> 
> ssl dir:        /usr/local/ssl
> libraries:      -lssl -lcrypto -lgcc -lRSAglue -lrsaref
> include dir:    /usr/local/ssl/include
> ssl header:     openssl/ssl.h
> ssl candidate:  /usr/local/ssl; /usr/local/ssl/include/openssl; OpenSSL 0.9.6
> 
> ================================================
> 
> Note (probably harmless): No library found for -lRSAglue
> Note (probably harmless): No library found for -lrsaref
> Writing Makefile for Crypt::SSLeay
> tpua@s6 ~torrance/.cpan/build/Crypt-SSLeay-0.35> sudo make
> gcc -c -I/usr/local/ssl/include -fno-strict-aliasing -I/usr/local/include 
>-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.35\"
> -DXS_VERSION=\"0.35\" -fPIC -I/usr/local/lib/perl5/5.6.1/i86pc-solaris/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/local/ssl/lib:/usr/local/lib" gcc  -G -L/usr/local/lib SSLeay.o  
>-o blib/arch/auto/Crypt/SSLeay/SSLeay.so   -L/usr/local/ssl/lib
> -lssl -lcrypto -lgcc
> 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.3
> tpua@s6 ~torrance/.cpan/build/Crypt-SSLeay-0.35> sudo make install
> Files found in blib/arch: installing files in blib/lib into architecture dependent 
>library tree
> Installing /usr/local/man/man3/Crypt::SSLeay.3
> Writing 
>/usr/local/lib/perl5/site_perl/5.6.1/i86pc-solaris/auto/Crypt/SSLeay/.packlist
> Appending installation info to /usr/local/lib/perl5/5.6.1/i86pc-solaris/perllocal.pod
> tpua@s6 ~torrance/.cpan/build/Crypt-SSLeay-0.35> sudo make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
>-I/usr/local/lib/perl5/5.6.1/i86pc-solaris -I/usr/local/lib/perl5/5.6.1 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/ssl_context.......Can't load 'blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module 
>Crypt::SSLeay: ld.so.1: /usr/local/bin/perl: fatal: relocation
> error: file blib/arch/auto/Crypt/SSLeay/SSLeay.so: symbol SSL_set_fd: referenced 
>symbol not found at
> /usr/local/lib/perl5/5.6.1/i86pc-solaris/DynaLoader.pm line 206.
>  at blib/lib/Crypt/SSLeay/CTX.pm line 2
> Compilation failed in require at blib/lib/Crypt/SSLeay/CTX.pm line 2.
> Compilation failed in require at blib/lib/Crypt/SSLeay/MainContext.pm line 8.
> Compilation failed in require at t/ssl_context.t line 3.
> BEGIN failed--compilation aborted at t/ssl_context.t line 3.
> t/ssl_context.......dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> FAILED--1 test script could be run, alas--no output ever seen
> make: *** [test_dynamic] Error 2
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to