aixtal has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am unable to install Crypt::SSLeay on Mac OS (10.6.8). I append the error log below -- it's way beyond my understanding. Many thanks for you help.
--jean
Crypt-SSLeay-0.58$ make test PERL_DL_NONLAZY=1 /Users/jean/perl5/perlbrew/perls/perl-5.12.3/bin/per +l "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/a +rch')" t/*.t t/00-basic.t .... 1/12 # Failed test 'use Crypt::SSLeay;' # at t/00-basic.t line 6. # Tried to use 'Crypt::SSLeay'. # Error: Can't load '/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/a +rch/auto/Crypt/SSLeay/SSLeay.bundle' for module Crypt::SSLeay: dlopen +(/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SS +Leay.bundle, 2): Symbol not found: _CRYPTO_free # Referenced from: /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/a +uto/Crypt/SSLeay/SSLeay.bundle # Expected in: dynamic lookup # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Failed test 'use Crypt::SSLeay::CTX;' # at t/00-basic.t line 7. # Tried to use 'Crypt::SSLeay::CTX'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/CTX.pm line 2. # Compilation failed in require at (eval 5) line 2. # BEGIN failed--compilation aborted at (eval 5) line 2. # Failed test 'use Crypt::SSLeay::Conn;' # at t/00-basic.t line 8. # Tried to use 'Crypt::SSLeay::Conn'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/Conn.pm line 2. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. # Failed test 'use Crypt::SSLeay::Err;' # at t/00-basic.t line 9. # Tried to use 'Crypt::SSLeay::Err'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/Err.pm line 2. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. # Failed test 'use Crypt::SSLeay::MainContext;' # at t/00-basic.t line 10. # Tried to use 'Crypt::SSLeay::MainContext'. # Error: Attempt to reload Crypt/SSLeay/CTX.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/MainContext.pm line 8. # Compilation failed in require at (eval 8) line 2. # BEGIN failed--compilation aborted at (eval 8) line 2. # Failed test 'use Net::SSL;' # at t/00-basic.t line 12. # Tried to use 'Net::SSL'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Net/SSL.pm line 19. # Compilation failed in require at (eval 10) line 2. # BEGIN failed--compilation aborted at (eval 10) line 2. Undefined subroutine &main::main_ctx called at t/00-basic.t line 36. # Looks like you planned 12 tests but ran 11. # Looks like you failed 6 tests of 11 run. # Looks like your test exited with 255 just after 11. t/00-basic.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/12 subtests t/01-connect.t .. Can't load '/Users/jean/Scratch/Crypt-SSLeay-0.58/bl +ib/arch/auto/Crypt/SSLeay/SSLeay.bundle' for module Crypt::SSLeay: dl +open(/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLea +y/SSLeay.bundle, 2): Symbol not found: _CRYPTO_free Referenced from: /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/aut +o/Crypt/SSLeay/SSLeay.bundle Expected in: dynamic lookup at /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/lib/Net/SSL.pm line 19 Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0.58 +/blib/lib/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 exited with 2 before it could output anything. t/01-connect.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 8/8 subtests t/02-live.t ..... 1/4 # Failed test 'use Net::SSL;' # at t/02-live.t line 7. # Tried to use 'Net::SSL'. # Error: Can't load '/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/a +rch/auto/Crypt/SSLeay/SSLeay.bundle' for module Crypt::SSLeay: dlopen +(/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SS +Leay.bundle, 2): Symbol not found: _CRYPTO_free # Referenced from: /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/a +uto/Crypt/SSLeay/SSLeay.bundle # Expected in: dynamic lookup # at /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/lib/Net/SSL.pm line 1 +9 # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Net/SSL.pm line 19. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # config on darwin # ssl OpenSSL 0.9.8l in /usr; # lib -L/usr/lib -lssl -lcrypto -lgcc # inc -I/usr/include # cc cc # Looks like you failed 1 test of 4. t/02-live.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests (less 1 skipped subtest: 2 okay) Test Summary Report ------------------- t/00-basic.t (Wstat: 65280 Tests: 11 Failed: 6) Failed tests: 1-5, 7 Non-zero exit status: 255 Parse errors: Bad plan. You planned 12 tests but ran 11. t/01-connect.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/02-live.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=15, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.20 cusr + 0.03 csys = 0.28 CPU) Result: FAIL Failed 3/3 test programs. 7/15 subtests failed. gmake: *** [test_dynamic] Erreur 1 [15:44:58]lilas:Crypt-SSLeay-0.58$ sudo cpanm Net::SSL --> Working on Net::SSL Fetching http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLea +y-0.58.tar.gz ... OK Configuring Crypt-SSLeay-0.58 ... OK Building and testing Crypt-SSLeay-0.58 ... FAIL ! Installing Net::SSL failed. See /Users/jean/.cpanm/build.log for det +ails. [15:45:20]lilas:Crypt-SSLeay-0.58$ make [15:55:09]lilas:Crypt-SSLeay-0.58$ make test PERL_DL_NONLAZY=1 /Users/jean/perl5/perlbrew/perls/perl-5.12.3/bin/per +l "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/a +rch')" t/*.t t/00-basic.t .... 1/12 # Failed test 'use Crypt::SSLeay;' # at t/00-basic.t line 6. # Tried to use 'Crypt::SSLeay'. # Error: Can't load '/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/a +rch/auto/Crypt/SSLeay/SSLeay.bundle' for module Crypt::SSLeay: dlopen +(/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SS +Leay.bundle, 2): Symbol not found: _CRYPTO_free # Referenced from: /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/a +uto/Crypt/SSLeay/SSLeay.bundle # Expected in: dynamic lookup # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Failed test 'use Crypt::SSLeay::CTX;' # at t/00-basic.t line 7. # Tried to use 'Crypt::SSLeay::CTX'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/CTX.pm line 2. # Compilation failed in require at (eval 5) line 2. # BEGIN failed--compilation aborted at (eval 5) line 2. # Failed test 'use Crypt::SSLeay::Conn;' # at t/00-basic.t line 8. # Tried to use 'Crypt::SSLeay::Conn'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/Conn.pm line 2. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. # Failed test 'use Crypt::SSLeay::Err;' # at t/00-basic.t line 9. # Tried to use 'Crypt::SSLeay::Err'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/Err.pm line 2. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. # Failed test 'use Crypt::SSLeay::MainContext;' # at t/00-basic.t line 10. # Tried to use 'Crypt::SSLeay::MainContext'. # Error: Attempt to reload Crypt/SSLeay/CTX.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Crypt/SSLeay/MainContext.pm line 8. # Compilation failed in require at (eval 8) line 2. # BEGIN failed--compilation aborted at (eval 8) line 2. # Failed test 'use Net::SSL;' # at t/00-basic.t line 12. # Tried to use 'Net::SSL'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Net/SSL.pm line 19. # Compilation failed in require at (eval 10) line 2. # BEGIN failed--compilation aborted at (eval 10) line 2. Undefined subroutine &main::main_ctx called at t/00-basic.t line 36. # Looks like you planned 12 tests but ran 11. # Looks like you failed 6 tests of 11 run. # Looks like your test exited with 255 just after 11. t/00-basic.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/12 subtests t/01-connect.t .. Can't load '/Users/jean/Scratch/Crypt-SSLeay-0.58/bl +ib/arch/auto/Crypt/SSLeay/SSLeay.bundle' for module Crypt::SSLeay: dl +open(/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLea +y/SSLeay.bundle, 2): Symbol not found: _CRYPTO_free Referenced from: /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/aut +o/Crypt/SSLeay/SSLeay.bundle Expected in: dynamic lookup at /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/lib/Net/SSL.pm line 19 Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0.58 +/blib/lib/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 exited with 2 before it could output anything. t/01-connect.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 8/8 subtests t/02-live.t ..... 1/4 # Failed test 'use Net::SSL;' # at t/02-live.t line 7. # Tried to use 'Net::SSL'. # Error: Can't load '/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/a +rch/auto/Crypt/SSLeay/SSLeay.bundle' for module Crypt::SSLeay: dlopen +(/Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SS +Leay.bundle, 2): Symbol not found: _CRYPTO_free # Referenced from: /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/arch/a +uto/Crypt/SSLeay/SSLeay.bundle # Expected in: dynamic lookup # at /Users/jean/Scratch/Crypt-SSLeay-0.58/blib/lib/Net/SSL.pm line 1 +9 # Compilation failed in require at /Users/jean/Scratch/Crypt-SSLeay-0. +58/blib/lib/Net/SSL.pm line 19. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # config on darwin # ssl OpenSSL 0.9.8l in /usr; # lib -L/usr/lib -lssl -lcrypto -lgcc # inc -I/usr/include # cc cc t/02-live.t ..... 2/4 # Looks like you failed 1 test of 4. t/02-live.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests (less 1 skipped subtest: 2 okay) Test Summary Report ------------------- t/00-basic.t (Wstat: 65280 Tests: 11 Failed: 6) Failed tests: 1-5, 7 Non-zero exit status: 255 Parse errors: Bad plan. You planned 12 tests but ran 11. t/01-connect.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/02-live.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=15, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.20 cusr + 0.03 csys = 0.26 CPU) Result: FAIL Failed 3/3 test programs. 7/15 subtests failed. gmake: *** [test_dynamic] Erreur 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unable to install Crypt::SSLeay on Mac OS
by zentara (Cardinal) on Oct 24, 2011 at 15:07 UTC | |
by aixtal (Sexton) on Oct 24, 2011 at 16:57 UTC | |
|
Re: Unable to install Crypt::SSLeay on Mac OS
by Anonymous Monk on Oct 24, 2011 at 15:20 UTC | |
by aixtal (Sexton) on Oct 24, 2011 at 16:58 UTC | |
by zentara (Cardinal) on Oct 24, 2011 at 17:20 UTC | |
by aixtal (Sexton) on Oct 24, 2011 at 18:04 UTC | |
by aixtal (Sexton) on Oct 24, 2011 at 17:36 UTC |