Subject: | Install problem with Crypt-OpenSSL-RSA on solaris 10 |
When compiling and installing in solaris 10 (both x86 and sparc), this
is the result of perl Makefile.PL, make and make test (all required
modules already installed):
bash-3.00# perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lssl
Note (probably harmless): No library found for -lcrypto
Writing Makefile for Crypt::OpenSSL::RSA
bash-3.00# make
cp RSA.pm blib/lib/Crypt/OpenSSL/RSA.pm
AutoSplitting blib/lib/Crypt/OpenSSL/RSA.pm
(blib/lib/auto/Crypt/OpenSSL/RSA)
/usr/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap RSA.xs >
RSA.xsc && mv RSA.xsc RSA.c
gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.25\"
-DXS_VERSION=\"0.25\" -fPIC
"-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -DPERL5
-DOPENSSL_NO_KRB5 RSA.c
Running Mkbootstrap for Crypt::OpenSSL::RSA ()
chmod 644 RSA.bs
rm -f blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so
LD_RUN_PATH="" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib RSA.o -o
blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so
chmod 755 blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so
cp RSA.bs blib/arch/auto/Crypt/OpenSSL/RSA/RSA.bs
chmod 644 blib/arch/auto/Crypt/OpenSSL/RSA/RSA.bs
Manifying blib/man3/Crypt::OpenSSL::RSA.3
bash-3.00# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bignum....Can't load
'/home/jrendony/upd/Crypt-OpenSSL-RSA-0.25/blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so'
for module Crypt::OpenSSL::RSA: ld.so.1: perl: fatal: relocation error:
file
/home/jrendony/upd/Crypt-OpenSSL-RSA-0.25/blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so:
symbol RSA_private_encrypt: referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
at t/bignum.t line 4
Compilation failed in require at t/bignum.t line 4.
BEGIN failed--compilation aborted at t/bignum.t line 4.
t/bignum....dubious
Test returned status 2 (wstat 512, 0x200)
t/format....Can't load
'/home/jrendony/upd/Crypt-OpenSSL-RSA-0.25/blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so'
for module Crypt::OpenSSL::RSA: ld.so.1: perl: fatal: relocation error:
file
/home/jrendony/upd/Crypt-OpenSSL-RSA-0.25/blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so:
symbol RSA_private_encrypt: referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
at t/format.t line 4
Compilation failed in require at t/format.t line 4.
BEGIN failed--compilation aborted at t/format.t line 4.
t/format....dubious
Test returned status 2 (wstat 512, 0x200)
t/rsa.......Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/Crypt/OpenSSL/Random/Random.so'
for module Crypt::OpenSSL::Random: ld.so.1: perl: fatal: relocation
error: file
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/Crypt/OpenSSL/Random/Random.so:
symbol RAND_bytes: referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
at t/rsa.t line 4
Compilation failed in require at t/rsa.t line 4.
BEGIN failed--compilation aborted at t/rsa.t line 4.
t/rsa.......dubious
Test returned status 2 (wstat 512, 0x200)
FAILED--3 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
Thanks