Skip Menu |
 

This queue is for tickets about the Crypt-SSLeay CPAN distribution.

Report information
The Basics
Id: 64014
Status: resolved
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: davekub [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.58_01
Fixed in: (no value)



Subject: 'make test' failure on Solaris 10
Download (untitled) / with headers
text/plain 971b
Installation of Crypt::SSLeay v0.58_01 fails on 'make test': # make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-basic......1/12 # Failed test 'use Crypt::SSLeay;' # in t/00-basic.t at line 6. # Tried to use 'Crypt::SSLeay'. # Error: Can't load '/.cpan/build/Crypt-SSLeay- 0.58_01/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fatal: libssl.so.0.9.8: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/i86pc- solaris/DynaLoader.pm line 230. # 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. I've verified that ld.so.1 and libssl.so.0.9.8 exist. I'm attempting the installation as root. Perl is v5.8.8; Solaris is v5.10 on Intel hardware. Screen capture of the build process is attached. Let me know if you need more info! Dave
Subject: Crypt-SSLeay_issue.txt
# uname -a SunOS qaewds02 5.10 Generic_138889-07 i86pc i386 i86pc # cat /etc/release Solaris 10 10/08 s10x_u6wos_07b X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 27 October 2008 # /usr/local/bin/perl -v This is perl, v5.8.8 built for i86pc-solaris Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. # which make /usr/ccs/bin/make # # /usr/local/bin/perl Makefile.PL ======================================================= Only one OpenSSL installation found at /usr/local/ssl Consider running 'perl Makefile.PL --default' the next time Crypt::SSLeay is upgraded to select this directory automatically thereby avoiding the following prompt. ======================================================= Which SSL install path do you want to use? [/usr/local/ssl] BUILD INFORMATION ================================================ ssl library: OpenSSL 0.9.8o in /usr/local/ssl ssl header: openssl/ssl.h libraries: -L/usr/local/ssl/lib -lssl -lcrypto -lgcc include dir: -I/usr/local/ssl/include ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc Writing Makefile for Crypt::SSLeay The test suite can attempt to connect to public servers to ensure that the code is working properly. If you are behind a strict firewall or have no network connectivity, these tests may fail (through no fault of the code). Do you want to run the live tests (y/N)? [N] y # make cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm cp lib/Net/SSL.pm blib/lib/Net/SSL.pm cp SSLeay.pm blib/lib/Crypt/SSLeay.pm cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c gcc -c -I/usr/local/ssl/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.58_01\" -DXS_VERSION=\"0.58_01\" -fPIC "-I/usr/local/lib/perl5/5.8.8/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" gcc -G -L/usr/local/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 # make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-basic......1/12 # Failed test 'use Crypt::SSLeay;' # in t/00-basic.t at line 6. # Tried to use 'Crypt::SSLeay'. # Error: Can't load '/.cpan/build/Crypt-SSLeay-0.58_01/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fatal: libssl.so.0.9.8: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/i86pc-solaris/DynaLoader.pm line 230. # 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. # Failed test 'use Crypt::SSLeay::MainContext;' # in t/00-basic.t at line 10. # Tried to use 'Crypt::SSLeay::MainContext'. # Error: Can't locate object method "new" via package "Crypt::SSLeay::CTX" at /.cpan/build/Crypt-SSLeay-0.58_01/blib/lib/Crypt/SSLeay/MainContext.pm line 15. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at t/00-basic.t line 10. Undefined subroutine &main::main_ctx called at t/00-basic.t line 36. # Looks like you planned 12 tests but only ran 11. # Looks like you failed 2 tests of 11 run. # Looks like your test died just after 11. t/00-basic...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/12 subtests (less 2 skipped subtests: 7 okay) t/01-connect....Can't load '/.cpan/build/Crypt-SSLeay-0.58_01/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fatal: libssl.so.0.9.8: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/i86pc-solaris/DynaLoader.pm line 230. at /.cpan/build/Crypt-SSLeay-0.58_01/blib/lib/Net/SSL.pm line 19 Compilation failed in require at /.cpan/build/Crypt-SSLeay-0.58_01/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 died before it could output anything. t/01-connect.... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 8/8 subtests t/02-live.......1/4 # Failed test 'use Net::SSL;' # in t/02-live.t at line 7. # Tried to use 'Net::SSL'. # Error: Can't load '/.cpan/build/Crypt-SSLeay-0.58_01/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fatal: libssl.so.0.9.8: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/i86pc-solaris/DynaLoader.pm line 230. # at /.cpan/build/Crypt-SSLeay-0.58_01/blib/lib/Net/SSL.pm line 19 # Compilation failed in require at /.cpan/build/Crypt-SSLeay-0.58_01/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.8o in /usr/local/ssl; # lib -L/usr/local/ssl/lib -lssl -lcrypto -lgcc # inc -I/usr/local/ssl/include # cc gcc # Failed test 'connect through proxy - untrapped error' # in t/02-live.t at line 69. # Can't locate object method "new" via package "Crypt::SSLeay::CTX" at /.cpan/build/Crypt-SSLeay-0.58_01/blib/lib/Crypt/SSLeay/MainContext.pm line 15. # Compilation failed in require at /.cpan/build/Crypt-SSLeay-0.58_01/blib/lib/Net/SSL.pm line 22. # Failed test 'HEAD https://rt.cpan.org/' # in t/02-live.t at line 120. # HTTP status = 500 Can't locate object method "new" via package "Crypt::SSLeay::CTX" # This may not be the fault of the module, https://rt.cpan.org/ may be down # Looks like you failed 3 tests of 4. t/02-live....... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests (less 1 skipped subtest: 0 okay) Test Summary Report ------------------- t/00-basic (Wstat: 65280 Tests: 11 Failed: 2) Failed tests: 1, 5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 12 tests but ran 11. t/01-connect (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 0. t/02-live (Wstat: 768 Tests: 4 Failed: 3) Failed tests: 1-2, 4 Non-zero exit status: 3 Files=3, Tests=15, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.23 cusr 0.04 csys = 0.29 CPU) Result: FAIL Failed 3/3 test programs. 5/15 subtests failed. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic' #
Download (untitled) / with headers
text/plain 213b
Hmmmm ... Is libssl.so.0.9.8 in '/usr/local/ssl/lib'? or, is it in '/usr/local/lib'? Better yet, what is in '/usr/local/ssl/lib'? Thank you for the detailed information you provided in your bug report. -- Sinan
Subject: Re: [rt.cpan.org #64014] 'make test' failure on Solaris 10
Date: Fri, 17 Dec 2010 10:28:37 -0500
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Dave Kubasiak <davekub [...] gmail.com>
Download (untitled) / with headers
text/plain 1.2k
Yes, it's in /usr/local/ssl/lib. Below is a list of that dir: # ls -al /usr/local/ssl/lib total 8284 drwxr-xr-x 4 bin bin 512 Dec 17 14:39 . drwxr-xr-x 9 bin bin 512 Jun 28 18:47 .. drwxr-xr-x 2 bin bin 512 Jun 28 18:47 engines -rw-r--r-- 1 bin bin 2036998 Jun 22 12:09 libcrypto.a lrwxrwxrwx 1 root root 18 Jun 28 18:47 libcrypto.so -> libcrypto.so.0.9.8 -r-xr-xr-x 1 bin bin 1450676 Jun 22 12:09 libcrypto.so.0.9.8 -rw-r--r-- 1 bin bin 387488 Jun 22 12:09 libssl.a lrwxrwxrwx 1 root root 15 Jun 28 18:47 libssl.so -> libssl.so.0.9.8 -r-xr-xr-x 1 bin bin 305736 Jun 22 12:09 libssl.so.0.9.8 drwxr-xr-x 2 bin bin 512 Jun 28 18:47 pkgconfig On Fri, Dec 17, 2010 at 10:06 AM, A. Sinan Unur via RT < bug-Crypt-SSLeay@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=64014 > > > Hmmmm ... Is libssl.so.0.9.8 in '/usr/local/ssl/lib'? or, is it in > '/usr/local/lib'? Better yet, what is in '/usr/local/ssl/lib'? > > Thank you for the detailed information you provided in your bug report. > > -- Sinan > >
-- Dave 'n Zeke New Castle, VA "Success consists of getting up just one more time than you fall." - Oliver Goldsmith
Download (untitled) / with headers
text/plain 316b
Thank you for the update. Could you also add the environment variables to this report? I am specifically interested in the contents of LD_LIBRARY_PATH but the rest of it might be useful too. What happens if you set setenv LD_LIBRARY_PATH /usr/local/ssl/lib (or add it to the existing paths if any)? -- Sinan
Subject: Re: [rt.cpan.org #64014] 'make test' failure on Solaris 10
Date: Fri, 17 Dec 2010 11:27:14 -0500
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Dave Kubasiak <davekub [...] gmail.com>
Download (untitled) / with headers
text/plain 914b
There was no LD_LIBRARY_PATH for the root user; I created it and added the path and the build process worked fine. Doh! I cannot believe I didn't think of that! *kicking self* >:\ Thanks for your time! Add this as an answer on StackOverflow and I'll select it. On Fri, Dec 17, 2010 at 11:12 AM, A. Sinan Unur via RT < bug-Crypt-SSLeay@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=64014 > > > Thank you for the update. > > Could you also add the environment variables to this report? > > I am specifically interested in the contents of LD_LIBRARY_PATH but the > rest of it might be useful too. > > What happens if you set > > setenv LD_LIBRARY_PATH /usr/local/ssl/lib > > (or add it to the existing paths if any)? > > -- Sinan > > >
-- Dave 'n Zeke New Castle, VA "Success consists of getting up just one more time than you fall." - Oliver Goldsmith
Download (untitled) / with headers
text/plain 979b
Thank you very much. I will add a note to the documentation for the next release. -- Sinan On Fri Dec 17 11:27:24 2010, davekub@gmail.com wrote: Show quoted text
> There was no LD_LIBRARY_PATH for the root user; I created it and added the > path and the build process worked fine. Doh! I cannot believe I didn't > think of that! *kicking self* >:\ > > Thanks for your time! Add this as an answer on StackOverflow and I'll > select it. > > On Fri, Dec 17, 2010 at 11:12 AM, A. Sinan Unur via RT < > bug-Crypt-SSLeay@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=64014 > > > > > Thank you for the update. > > > > Could you also add the environment variables to this report? > > > > I am specifically interested in the contents of LD_LIBRARY_PATH but the > > rest of it might be useful too. > > > > What happens if you set > > > > setenv LD_LIBRARY_PATH /usr/local/ssl/lib > > > > (or add it to the existing paths if any)? > > > > -- Sinan > > > > > >
> >
Download (untitled) / with headers
text/plain 711b
I am getting exactly the same type of error message during 'make test' under cygwin on windows XP with Perl 5.10.0. No error message during 'make' and in 'make test' then a message from DynaLoader 'No such file or directory' for the file '/cygdrive/d/work/PerlModule/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SSLeay.dll', which is excatly there. $ file /cygdrive/d/work/PerlModule/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SSLeay.dll /cygdrive/d/work/PerlModule/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SSLeay.dll: PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows I read the note about LD_LIBRARY_PATH, but that did not help in this case. Thanks hexcoder.
Download (untitled) / with headers
text/plain 484b
On Wed May 11 16:53:23 2011, HEXCODER wrote: Show quoted text
> I am getting exactly the same type of error message during 'make test' > under cygwin on windows XP with Perl 5.10.0.
Cygwin on Windows XP is a different environment than Solaris 10. So, please make sure that you are using Cygwin perl, Cygwin build tools, and try to build Crypt-SSLeay 0.64. If you run into any problems, please open a new ticket, and include the entire output of `make test`. Thank you for your feedback, -- Sinan


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.