Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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'

In reply to Re^3: Problems installing Crypt:::SSLeay by mifflin
in thread Problems installing Crypt:::SSLeay by mifflin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found