Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Problems installing Crypt:::SSLeay

by mifflin (Curate)
on Jun 14, 2007 at 23:37 UTC ( #621366=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Problems installing Crypt:::SSLeay
in thread Problems installing Crypt:::SSLeay

Your suggestion seem to get me over this hump. To do it I had to alter Makefile (again) and change line 118 from

INC = -I/usr/local/ssl/include/openssl
to
INC = -I/usr/local/ssl/include

This made it so I could do a make

erickn@cofjora01d:/home/erickn/Crypt-SSLeay-0.55> make gcc -c -I/usr/local/ssl/include -I/home/utils/perl/include -D_LARGEF +ILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.55\" -DXS_VERS +ION=\"0.55\" -fPIC "-I/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/C +ORE" 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" gcc -G -L/home/utils/perl/lib SSLeay +.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so -L/usr/local/ssl/lib - +lssl -lcrypto 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/Net::SSL.3 Manifying blib/man3/Crypt::SSLeay.3
However, the tests fail :-(
erickn@cofjora01d:/home/erickn/Crypt-SSLeay-0.55> make test PERL_DL_NONLAZY=1 /home/utils/perl/bin/perl "-MExtUtils::Command::MM" +"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-basic...... # Failed test (t/00-basic.t at line 6) # Tried to use 'Crypt::SSLeay'. # Error: Can't load '/home/erickn/Crypt-SSLeay-0.55/blib/arch/aut +o/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fa +tal: relocation error: file /home/erickn/Crypt-SSLeay-0.55/blib/arch/ +auto/Crypt/SSLeay/SSLeay.so: symbol OPENSSL_add_all_algorithms_noconf +: referenced symbol not found at /home/utils/perl/lib/perl5/5.8.0/sun +4-solaris/DynaLoader.pm line 229. # at (eval 3) line 2 # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/00-basic.t line 6. t/00-basic......ok 4/12 + # Failed test (t/00-basic.t at line 10) t/00-basic......NOK 5# Tried to use 'Crypt::SSLeay::MainContext'. + # Error: Can't locate object method "new" via package "Crypt::SSL +eay::CTX" at /home/erickn/Crypt-SSLeay-0.55/blib/lib/Crypt/SSLeay/Mai +nContext.pm line 15. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at t/00-basic.t line 10. t/00-basic......ok 9/12Undefined subroutine &main::main_ctx called at +t/00-basic.t line 36. t/00-basic......ok 11/12# Looks like you planned 12 tests but only ran + 11. # Looks like your test died just after 11. t/00-basic......dubious + Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 5, 12 Failed 3/12 tests, 75.00% okay (less 4 skipped tests: 5 okay, +41.67%) t/01-connect....Can't load '/home/erickn/Crypt-SSLeay-0.55/blib/arch/a +uto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: +fatal: relocation error: file /home/erickn/Crypt-SSLeay-0.55/blib/arc +h/auto/Crypt/SSLeay/SSLeay.so: symbol OPENSSL_add_all_algorithms_noco +nf: referenced symbol not found at /home/utils/perl/lib/perl5/5.8.0/s +un4-solaris/DynaLoader.pm line 229. at /home/erickn/Crypt-SSLeay-0.55/blib/lib/Net/SSL.pm line 19 Compilation failed in require at /home/erickn/Crypt-SSLeay-0.55/blib/l +ib/Net/SSL.pm line 19. Compilation failed in require at t/01-connect.t line 4. BEGIN failed--compilation aborted at t/01-connect.t line 4. # Looks like your test died before it could output anything. t/01-connect....dubious + Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-8 Failed 8/8 tests, 0.00% okay t/02-live....... # Failed test (t/02-live.t at line 7) t/02-live.......NOK 1# Tried to use 'Net::SSL'. + # Error: Can't load '/home/erickn/Crypt-SSLeay-0.55/blib/arch/aut +o/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fa +tal: relocation error: file /home/erickn/Crypt-SSLeay-0.55/blib/arch/ +auto/Crypt/SSLeay/SSLeay.so: symbol OPENSSL_add_all_algorithms_noconf +: referenced symbol not found at /home/utils/perl/lib/perl5/5.8.0/sun +4-solaris/DynaLoader.pm line 229. # at /home/erickn/Crypt-SSLeay-0.55/blib/lib/Net/SSL.pm line 19 # Compilation failed in require at /home/erickn/Crypt-SSLeay-0.55/blib +/lib/Net/SSL.pm line 19. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/02-live.t line 7. # config on solaris # ssl OpenSSL 0.9.8 in /usr/local/ssl # lib -L/usr/local/ssl/lib -lssl -lcrypto -lgcc # inc -I/usr/local/ssl/include/openssl # cc gcc t/02-live.......ok 2/4# Looks like you failed 1 test of 4. + t/02-live.......dubious + Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/4 tests, 75.00% okay (less 1 skipped test: 2 okay, 50 +.00%) Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/00-basic.t 255 65280 12 4 33.33% 1 5 12 t/01-connect.t 255 65280 8 16 200.00% 1-8 t/02-live.t 1 256 4 1 25.00% 1 5 subtests skipped. Failed 3/3 test scripts, 0.00% okay. 12/24 subtests failed, 50.00% oka +y. *** Error code 2 make: Fatal error: Command failed for target `test_dynamic'


Comment on Re^3: Problems installing Crypt:::SSLeay
Select or Download Code
Re^4: Problems installing Crypt:::SSLeay
by Anonymous Monk on Jun 15, 2007 at 07:45 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://621366]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-07-06 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls