Skip Menu |
 

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

Report information
The Basics
Id: 80383
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: BOLDRA [...] boldra.org
mark.g.pohl [...] ugov.gov
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problem linking Net-SSLeay-1.49 on Linux
Date: Wed, 24 Oct 2012 18:17:43 +0000 (GMT+00:00)
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mark G Pohl <mark.g.pohl [...] ugov.gov>
Download (untitled) / with headers
text/plain 6.9k
Hi, I am trying to build the Net-SSLeay-1.49 module on a Linux server and I'm not having much luck. I think I successfully did this with an earlier version of the the Linux that I am using but this new server seems to be quite different. I would appreciate it very much if you could shed any light on what I might do to fix this problem. Below is a lot of information that you requested as part of a problem report. Please note that you requested information for or had instructions related to two files test.pl and sslecho.log. I could not find those files anywhere. Please let me know if you need any other information. Regards, Mark Mark Pohl ISMC - Intelink Web Developer CSC Contractor mark.g.pohl@ugov.gov 410-854-9637 Linux version Linux 2.6.32-220.17.1.el6.x86_64 #1 SMP Tue May 15 17:16:46 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux glibc version libc-2.12.so Module name and version Net-SSLeay-1.49 OpenSSL version OpenSSL 0.9.7b 10 Apr 2003 GCC version gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) output from make clean; perl Makefile.PL -t rm -f \ *.a core \ SSLeay.c core.[0-9] \ blib/arch/auto/Net/SSLeay/extralibs.all core.[0-9][0-9] \ SSLeay.bso pm_to_blib.ts \ core.[0-9][0-9][0-9][0-9] SSLeay.x \ SSLeay.bs perl \ tmon.out *.o \ pm_to_blib blib/arch/auto/Net/SSLeay/extralibs.ld \ blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ *perl.core core.*perl.*.? \ Makefile.aperl perl \ SSLeay.def core.[0-9][0-9][0-9] \ mon.out libSSLeay.def \ perlmain.c perl.exe \ so_locations SSLeay.exp rm -rf \ t/local/ptr_cast_test examples/key.pem \ examples/*.0 examples/cert.pem \ sslecho.log tcpecho.log \ examples/key.pem.e makecert.err \ blib makecert.out mv Makefile Makefile.old > /dev/null 2>&1 Cannot determine license info from lib/Net/SSLeay.pod *** Found OpenSSL-0.9.7b installed in /usr/local/ssl *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] y Checking if your kit is complete... Looks good Writing Makefile for Net::SSLeay Output from make test cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm /usr/local/bin/perl "-Iinc" /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -I/usr/local/ssl/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC "-I/usr/local/lib/perl5/5.10.1/x86_64-linux/CORE" SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz \ /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 perl -V output: Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux uname='linux linsrchdev5o.ismc.intelink.gov 2.6.32-220.17.1.el6.x86_64 #1 smp tue may 15 17:16:46 cdt 2012 x86_64 x86_64 x86_64 gnulinux ' config_args='-de -Dprefix=/webroot/search' hint=previous, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.4.6 20120305 (Red Hat 4.4.6-4)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.12' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Oct 23 2012 17:36:44 %ENV: PERLLIB="/webroot/search/perl/lib/perl5/site_perl/5.8.5:/webroot/search/perl/imolibs" PERL_LWP_SSL_VERIFY_HOSTNAME="0" @INC: /webroot/search/perl/lib/perl5/site_perl/5.8.5 /webroot/search/perl/imolibs /usr/local/lib/perl5/5.10.1/x86_64-linux /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux /usr/local/lib/perl5/site_perl/5.10.1 .
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Thu, 25 Oct 2012 06:47:05 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 8.4k
Hi Mark, thanks for your note. I havent seen this problem before. Thanks for sending this info. What Linux distro are you using (so I can try to reproduce this)? Looks like it might be Red Hat EL 6? Is it 32 or 64 bit? Cheers. On Wednesday, October 24, 2012 02:18:06 PM you wrote: Show quoted text
> Wed Oct 24 14:18:04 2012: Request 80383 was acted upon. > Transaction: Ticket created by mark.g.pohl@ugov.gov > Queue: Net-SSLeay > Subject: Problem linking Net-SSLeay-1.49 on Linux > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mark.g.pohl@ugov.gov > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > > Hi, > > I am trying to build the Net-SSLeay-1.49 module on a Linux server and I'm > not having much luck. I think I successfully did this with an earlier > version of the the Linux that I am using but this new server seems to be > quite different. I would appreciate it very much if you could shed any > light on what I might do to fix this problem. Below is a lot of information > that you requested as part of a problem report. Please note that you > requested information for or had instructions related to two files test.pl > and sslecho.log. I could not find those files anywhere. Please let me know > if you need any other information. > > Regards, > > Mark > > Mark Pohl > > ISMC - Intelink > Web Developer > CSC Contractor > > mark.g.pohl@ugov.gov > 410-854-9637 > > > Linux version > Linux 2.6.32-220.17.1.el6.x86_64 #1 SMP Tue May 15 17:16:46 CDT 2012 x86_64 > x86_64 x86_64 GNU/Linux > > glibc version > libc-2.12.so > > Module name and version > Net-SSLeay-1.49 > > OpenSSL version > OpenSSL 0.9.7b 10 Apr 2003 > > GCC version > gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) > > output from make clean; perl Makefile.PL -t > > rm -f \ > *.a core \ > SSLeay.c core.[0-9] \ > blib/arch/auto/Net/SSLeay/extralibs.all core.[0-9][0-9] \ > SSLeay.bso pm_to_blib.ts \ > core.[0-9][0-9][0-9][0-9] SSLeay.x \ > SSLeay.bs perl \ > tmon.out *.o \ > pm_to_blib blib/arch/auto/Net/SSLeay/extralibs.ld \ > blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ > *perl.core core.*perl.*.? \ > Makefile.aperl perl \ > SSLeay.def core.[0-9][0-9][0-9] \ > mon.out libSSLeay.def \ > perlmain.c perl.exe \ > so_locations SSLeay.exp > rm -rf \ > t/local/ptr_cast_test examples/key.pem \ > examples/*.0 examples/cert.pem \ > sslecho.log tcpecho.log \ > examples/key.pem.e makecert.err \ > blib makecert.out > mv Makefile Makefile.old > /dev/null 2>&1 > Cannot determine license info from lib/Net/SSLeay.pod > *** Found OpenSSL-0.9.7b installed in /usr/local/ssl > *** Be sure to use the same compiler and options to compile your OpenSSL, > perl, and Net::SSLeay. Mixing and matching compilers is not supported. > Do you want to run external tests? > These tests *will* *fail* if you do not have network connectivity. [n] y > Checking if your kit is complete... > Looks good > Writing Makefile for Net::SSLeay > > > Output from make test > > cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > characters: directory blib/lib/auto/Net/SSLeay: > do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https > do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx > get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, > get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to > get_http head_https.al, head_https3.al, head_https4.al, head_http.al, > head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al > truncate to head_htt post_https.al, post_https3.al, post_https4.al, > post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, > post_httpx4.al truncate to post_htt put_https.al, put_https3.al, > put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, > put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, > ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, > ssl_write_CRLF.al truncate to ssl_writ > tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read > tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ > cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod > cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm > /usr/local/bin/perl "-Iinc" /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp > -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap > SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c > -I/usr/local/ssl/include -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g > -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC > "-I/usr/local/lib/perl5/5.10.1/x86_64-linux/CORE" SSLeay.c Running > Mkbootstrap for Net::SSLeay () > chmod 644 SSLeay.bs > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > LD_RUN_PATH="/lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector > SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl > -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 > against `.bss' can not be used when making a shared object; recompile with > -fPIC /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > perl -V output: > > Summary of my perl5 (revision 5 version 10 subversion 1) configuration: > > Platform: > osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux > uname='linux linsrchdev5o.ismc.intelink.gov 2.6.32-220.17.1.el6.x86_64 #1 > smp tue may 15 17:16:46 cdt 2012 x86_64 x86_64 x86_64 gnulinux ' > config_args='-de -Dprefix=/webroot/search' > hint=previous, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2', > cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.4.6 20120305 (Red Hat > 4.4.6-4)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, > byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, > longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, > Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define > Linker and Libraries: > ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 > libs=-lnsl -ldl -lm -lcrypt -lutil -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc > libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='2.12' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib > -fstack-protector' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL > USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO > Built under linux > Compiled at Oct 23 2012 17:36:44 > %ENV: > PERLLIB="/webroot/search/perl/lib/perl5/site_perl/5.8.5:/webroot/search/perl > /imolibs" PERL_LWP_SSL_VERIFY_HOSTNAME="0" > @INC: > /webroot/search/perl/lib/perl5/site_perl/5.8.5 > /webroot/search/perl/imolibs > /usr/local/lib/perl5/5.10.1/x86_64-linux > /usr/local/lib/perl5/5.10.1 > /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux > /usr/local/lib/perl5/site_perl/5.10.1 > .
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Thu, 25 Oct 2012 18:50:31 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 8.4k
Hi again, I see a number of other people see the same problem linking other things on RHEL 6 X86_64. It seems to be related to the way the standard openssl was compiled on that platform. On Wednesday, October 24, 2012 02:18:06 PM Mark G Pohl via RT wrote: Show quoted text
> Wed Oct 24 14:18:04 2012: Request 80383 was acted upon. > Transaction: Ticket created by mark.g.pohl@ugov.gov > Queue: Net-SSLeay > Subject: Problem linking Net-SSLeay-1.49 on Linux > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mark.g.pohl@ugov.gov > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > > Hi, > > I am trying to build the Net-SSLeay-1.49 module on a Linux server and I'm > not having much luck. I think I successfully did this with an earlier > version of the the Linux that I am using but this new server seems to be > quite different. I would appreciate it very much if you could shed any > light on what I might do to fix this problem. Below is a lot of information > that you requested as part of a problem report. Please note that you > requested information for or had instructions related to two files test.pl > and sslecho.log. I could not find those files anywhere. Please let me know > if you need any other information. > > Regards, > > Mark > > Mark Pohl > > ISMC - Intelink > Web Developer > CSC Contractor > > mark.g.pohl@ugov.gov > 410-854-9637 > > > Linux version > Linux 2.6.32-220.17.1.el6.x86_64 #1 SMP Tue May 15 17:16:46 CDT 2012 x86_64 > x86_64 x86_64 GNU/Linux > > glibc version > libc-2.12.so > > Module name and version > Net-SSLeay-1.49 > > OpenSSL version > OpenSSL 0.9.7b 10 Apr 2003 > > GCC version > gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) > > output from make clean; perl Makefile.PL -t > > rm -f \ > *.a core \ > SSLeay.c core.[0-9] \ > blib/arch/auto/Net/SSLeay/extralibs.all core.[0-9][0-9] \ > SSLeay.bso pm_to_blib.ts \ > core.[0-9][0-9][0-9][0-9] SSLeay.x \ > SSLeay.bs perl \ > tmon.out *.o \ > pm_to_blib blib/arch/auto/Net/SSLeay/extralibs.ld \ > blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ > *perl.core core.*perl.*.? \ > Makefile.aperl perl \ > SSLeay.def core.[0-9][0-9][0-9] \ > mon.out libSSLeay.def \ > perlmain.c perl.exe \ > so_locations SSLeay.exp > rm -rf \ > t/local/ptr_cast_test examples/key.pem \ > examples/*.0 examples/cert.pem \ > sslecho.log tcpecho.log \ > examples/key.pem.e makecert.err \ > blib makecert.out > mv Makefile Makefile.old > /dev/null 2>&1 > Cannot determine license info from lib/Net/SSLeay.pod > *** Found OpenSSL-0.9.7b installed in /usr/local/ssl > *** Be sure to use the same compiler and options to compile your OpenSSL, > perl, and Net::SSLeay. Mixing and matching compilers is not supported. > Do you want to run external tests? > These tests *will* *fail* if you do not have network connectivity. [n] y > Checking if your kit is complete... > Looks good > Writing Makefile for Net::SSLeay > > > Output from make test > > cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > characters: directory blib/lib/auto/Net/SSLeay: > do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https > do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx > get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, > get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to > get_http head_https.al, head_https3.al, head_https4.al, head_http.al, > head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al > truncate to head_htt post_https.al, post_https3.al, post_https4.al, > post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, > post_httpx4.al truncate to post_htt put_https.al, put_https3.al, > put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, > put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, > ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, > ssl_write_CRLF.al truncate to ssl_writ > tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read > tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ > cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod > cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm > /usr/local/bin/perl "-Iinc" /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp > -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap > SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c > -I/usr/local/ssl/include -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g > -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC > "-I/usr/local/lib/perl5/5.10.1/x86_64-linux/CORE" SSLeay.c Running > Mkbootstrap for Net::SSLeay () > chmod 644 SSLeay.bs > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > LD_RUN_PATH="/lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector > SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl > -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 > against `.bss' can not be used when making a shared object; recompile with > -fPIC /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > perl -V output: > > Summary of my perl5 (revision 5 version 10 subversion 1) configuration: > > Platform: > osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux > uname='linux linsrchdev5o.ismc.intelink.gov 2.6.32-220.17.1.el6.x86_64 #1 > smp tue may 15 17:16:46 cdt 2012 x86_64 x86_64 x86_64 gnulinux ' > config_args='-de -Dprefix=/webroot/search' > hint=previous, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2', > cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.4.6 20120305 (Red Hat > 4.4.6-4)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, > byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, > longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, > Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define > Linker and Libraries: > ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 > libs=-lnsl -ldl -lm -lcrypt -lutil -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc > libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='2.12' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib > -fstack-protector' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL > USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO > Built under linux > Compiled at Oct 23 2012 17:36:44 > %ENV: > PERLLIB="/webroot/search/perl/lib/perl5/site_perl/5.8.5:/webroot/search/perl > /imolibs" PERL_LWP_SSL_VERIFY_HOSTNAME="0" > @INC: > /webroot/search/perl/lib/perl5/site_perl/5.8.5 > /webroot/search/perl/imolibs > /usr/local/lib/perl5/5.10.1/x86_64-linux > /usr/local/lib/perl5/5.10.1 > /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux > /usr/local/lib/perl5/site_perl/5.10.1 > .
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Thu, 25 Oct 2012 12:51:34 +0000 (GMT+00:00)
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mark G Pohl <mark.g.pohl [...] ugov.gov>
Download (untitled) / with headers
text/plain 9.6k
I am using Red Hat EL 6 64 bit. I also think it is "Scientific Linux," if that makes sense. At this point I would hold off on investigating this issue. After I sent you this email one of our system admins came and told me he thought the server was toast and he wanted to rebuild it. I likely cause this problem. Some of the problems may be related to this issue but at this point I think it is hard to tell whether the problems I reported to you are the cause or the effect of the problems we are having with the server. You might want to hold onto this information until after we restore this server and I try some "safer" install methods. I will let you know if I still have problems. I don't want to waste your time on what might be a non-problem. Regards, Mark ISMC - Intelink Web Developer CSC Contractor Mark Pohl mark.g.pohl@ugov.gov 410-854-9637 Show quoted text
----- Original Message ----- From: "mikem@open.com.au via RT" <bug-Net-SSLeay@rt.cpan.org> To: "mark g pohl" <mark.g.pohl@ugov.gov> Sent: Wednesday, October 24, 2012 4:47:36 PM Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > Hi Mark, thanks for your note. I havent seen this problem before. Thanks for sending this info. What Linux distro are you using (so I can try to reproduce this)? Looks like it might be Red Hat EL 6? Is it 32 or 64 bit? Cheers. On Wednesday, October 24, 2012 02:18:06 PM you wrote:
> Wed Oct 24 14:18:04 2012: Request 80383 was acted upon. > Transaction: Ticket created by mark.g.pohl@ugov.gov > Queue: Net-SSLeay > Subject: Problem linking Net-SSLeay-1.49 on Linux > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mark.g.pohl@ugov.gov > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > > Hi, > > I am trying to build the Net-SSLeay-1.49 module on a Linux server and I'm > not having much luck. I think I successfully did this with an earlier > version of the the Linux that I am using but this new server seems to be > quite different. I would appreciate it very much if you could shed any > light on what I might do to fix this problem. Below is a lot of information > that you requested as part of a problem report. Please note that you > requested information for or had instructions related to two files test.pl > and sslecho.log. I could not find those files anywhere. Please let me know > if you need any other information. > > Regards, > > Mark > > Mark Pohl > > ISMC - Intelink > Web Developer > CSC Contractor > > mark.g.pohl@ugov.gov > 410-854-9637 > > > Linux version > Linux 2.6.32-220.17.1.el6.x86_64 #1 SMP Tue May 15 17:16:46 CDT 2012 x86_64 > x86_64 x86_64 GNU/Linux > > glibc version > libc-2.12.so > > Module name and version > Net-SSLeay-1.49 > > OpenSSL version > OpenSSL 0.9.7b 10 Apr 2003 > > GCC version > gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) > > output from make clean; perl Makefile.PL -t > > rm -f \ > *.a core \ > SSLeay.c core.[0-9] \ > blib/arch/auto/Net/SSLeay/extralibs.all core.[0-9][0-9] \ > SSLeay.bso pm_to_blib.ts \ > core.[0-9][0-9][0-9][0-9] SSLeay.x \ > SSLeay.bs perl \ > tmon.out *.o \ > pm_to_blib blib/arch/auto/Net/SSLeay/extralibs.ld \ > blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ > *perl.core core.*perl.*.? \ > Makefile.aperl perl \ > SSLeay.def core.[0-9][0-9][0-9] \ > mon.out libSSLeay.def \ > perlmain.c perl.exe \ > so_locations SSLeay.exp > rm -rf \ > t/local/ptr_cast_test examples/key.pem \ > examples/*.0 examples/cert.pem \ > sslecho.log tcpecho.log \ > examples/key.pem.e makecert.err \ > blib makecert.out > mv Makefile Makefile.old > /dev/null 2>&1 > Cannot determine license info from lib/Net/SSLeay.pod > *** Found OpenSSL-0.9.7b installed in /usr/local/ssl > *** Be sure to use the same compiler and options to compile your OpenSSL, > perl, and Net::SSLeay. Mixing and matching compilers is not supported. > Do you want to run external tests? > These tests *will* *fail* if you do not have network connectivity. [n] y > Checking if your kit is complete... > Looks good > Writing Makefile for Net::SSLeay > > > Output from make test > > cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > characters: directory blib/lib/auto/Net/SSLeay: > do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https > do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx > get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, > get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to > get_http head_https.al, head_https3.al, head_https4.al, head_http.al, > head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al > truncate to head_htt post_https.al, post_https3.al, post_https4.al, > post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, > post_httpx4.al truncate to post_htt put_https.al, put_https3.al, > put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, > put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, > ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, > ssl_write_CRLF.al truncate to ssl_writ > tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read > tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ > cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod > cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm > /usr/local/bin/perl "-Iinc" /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp > -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap > SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c > -I/usr/local/ssl/include -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g > -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC > "-I/usr/local/lib/perl5/5.10.1/x86_64-linux/CORE" SSLeay.c Running > Mkbootstrap for Net::SSLeay () > chmod 644 SSLeay.bs > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > LD_RUN_PATH="/lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector > SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl > -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 > against `.bss' can not be used when making a shared object; recompile with > -fPIC /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > perl -V output: > > Summary of my perl5 (revision 5 version 10 subversion 1) configuration: > > Platform: > osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux > uname='linux linsrchdev5o.ismc.intelink.gov 2.6.32-220.17.1.el6.x86_64 #1 > smp tue may 15 17:16:46 cdt 2012 x86_64 x86_64 x86_64 gnulinux ' > config_args='-de -Dprefix=/webroot/search' > hint=previous, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2', > cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.4.6 20120305 (Red Hat > 4.4.6-4)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, > byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, > longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, > Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define > Linker and Libraries: > ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 > libs=-lnsl -ldl -lm -lcrypt -lutil -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc > libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='2.12' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib > -fstack-protector' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL > USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO > Built under linux > Compiled at Oct 23 2012 17:36:44 > %ENV: > PERLLIB="/webroot/search/perl/lib/perl5/site_perl/5.8.5:/webroot/search/perl > /imolibs" PERL_LWP_SSL_VERIFY_HOSTNAME="0" > @INC: > /webroot/search/perl/lib/perl5/site_perl/5.8.5 > /webroot/search/perl/imolibs > /usr/local/lib/perl5/5.10.1/x86_64-linux > /usr/local/lib/perl5/5.10.1 > /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux > /usr/local/lib/perl5/site_perl/5.10.1 > .
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Fri, 26 Oct 2012 07:21:17 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 10.3k
Hi Mark, thanks for your reply. Ill wait for further info. Cheers. On Thursday, October 25, 2012 08:51:53 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > I am using Red Hat EL 6 64 bit. I also think it is "Scientific Linux," if > that makes sense. At this point I would hold off on investigating this > issue. After I sent you this email one of our system admins came and told > me he thought the server was toast and he wanted to rebuild it. I likely > cause this problem. Some of the problems may be related to this issue but > at this point I think it is hard to tell whether the problems I reported to > you are the cause or the effect of the problems we are having with the > server. You might want to hold onto this information until after we > restore this server and I try some "safer" install methods. I will let you > know if I still have problems. I don't want to waste your time on what > might be a non-problem. > > Regards, > > Mark > > ISMC - Intelink > Web Developer > CSC Contractor > > Mark Pohl > mark.g.pohl@ugov.gov > 410-854-9637 > > ----- Original Message ----- > From: "mikem@open.com.au via RT" <bug-Net-SSLeay@rt.cpan.org> > To: "mark g pohl" <mark.g.pohl@ugov.gov> > Sent: Wednesday, October 24, 2012 4:47:36 PM > Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux > > <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > Hi Mark, > > thanks for your note. > I havent seen this problem before. > Thanks for sending this info. > > What Linux distro are you using (so I can try to reproduce this)? > Looks like it might be Red Hat EL 6? Is it 32 or 64 bit? > > > Cheers. > > On Wednesday, October 24, 2012 02:18:06 PM you wrote:
> > Wed Oct 24 14:18:04 2012: Request 80383 was acted upon. > > Transaction: Ticket created by mark.g.pohl@ugov.gov > > > > Queue: Net-SSLeay > > > > Subject: Problem linking Net-SSLeay-1.49 on Linux > > > > Broken in: (no value) > > > > Severity: (no value) > > > > Owner: Nobody > > > > Requestors: mark.g.pohl@ugov.gov > > > > Status: new > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > > > Hi, > > > > I am trying to build the Net-SSLeay-1.49 module on a Linux server and > > I'm > > not having much luck. I think I successfully did this with an earlier > > version of the the Linux that I am using but this new server seems to be > > quite different. I would appreciate it very much if you could shed any > > light on what I might do to fix this problem. Below is a lot of > > information that you requested as part of a problem report. Please note > > that you requested information for or had instructions related to two > > files test.pl and sslecho.log. I could not find those files anywhere. > > Please let me know if you need any other information. > > > > Regards, > > > > Mark > > > > Mark Pohl > > > > ISMC - Intelink > > Web Developer > > CSC Contractor > > > > mark.g.pohl@ugov.gov > > 410-854-9637 > > > > > > Linux version > > Linux 2.6.32-220.17.1.el6.x86_64 #1 SMP Tue May 15 17:16:46 CDT 2012 > > x86_64 x86_64 x86_64 GNU/Linux > > > > glibc version > > libc-2.12.so > > > > Module name and version > > Net-SSLeay-1.49 > > > > OpenSSL version > > OpenSSL 0.9.7b 10 Apr 2003 > > > > GCC version > > gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) > > > > output from make clean; perl Makefile.PL -t > > > > rm -f \ > > *.a core \ > > SSLeay.c core.[0-9] \ > > blib/arch/auto/Net/SSLeay/extralibs.all core.[0-9][0-9] \ > > SSLeay.bso pm_to_blib.ts \ > > core.[0-9][0-9][0-9][0-9] SSLeay.x \ > > SSLeay.bs perl \ > > tmon.out *.o \ > > pm_to_blib blib/arch/auto/Net/SSLeay/extralibs.ld \ > > blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ > > *perl.core core.*perl.*.? \ > > Makefile.aperl perl \ > > SSLeay.def core.[0-9][0-9][0-9] \ > > mon.out libSSLeay.def \ > > perlmain.c perl.exe \ > > so_locations SSLeay.exp > > rm -rf \ > > t/local/ptr_cast_test examples/key.pem \ > > examples/*.0 examples/cert.pem \ > > sslecho.log tcpecho.log \ > > examples/key.pem.e makecert.err \ > > blib makecert.out > > mv Makefile Makefile.old > /dev/null 2>&1 > > Cannot determine license info from lib/Net/SSLeay.pod > > *** Found OpenSSL-0.9.7b installed in /usr/local/ssl > > *** Be sure to use the same compiler and options to compile your > > OpenSSL, > > perl, and Net::SSLeay. Mixing and matching compilers is not supported. > > Do you want to run external tests? > > These tests *will* *fail* if you do not have network connectivity. [n] y > > Checking if your kit is complete... > > Looks good > > Writing Makefile for Net::SSLeay > > > > > > Output from make test > > > > cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm > > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > > characters: directory blib/lib/auto/Net/SSLeay: > > do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to > > do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx > > get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, > > get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to > > get_http head_https.al, head_https3.al, head_https4.al, head_http.al, > > head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, > > head_httpx4.al truncate to head_htt post_https.al, post_https3.al, > > post_https4.al, post_http.al, post_http3.al, post_http4.al, > > post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt > > put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, > > put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to > > put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate > > to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ > > tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to > > tcp_read > > tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ > > cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod > > cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm > > /usr/local/bin/perl "-Iinc" /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp > > -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap > > SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c > > -I/usr/local/ssl/include -fno-strict-aliasing -pipe -fstack-protector > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g > > -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC > > "-I/usr/local/lib/perl5/5.10.1/x86_64-linux/CORE" SSLeay.c Running > > Mkbootstrap for Net::SSLeay () > > chmod 644 SSLeay.bs > > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > > LD_RUN_PATH="/lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector > > SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl > > -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > > > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation > > R_X86_64_32 against `.bss' can not be used when making a shared object; > > recompile with -fPIC /usr/local/ssl/lib/libssl.a: could not read > > symbols: Bad value collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > > > > perl -V output: > > > > Summary of my perl5 (revision 5 version 10 subversion 1) configuration: > > > > Platform: > > osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux > > uname='linux linsrchdev5o.ismc.intelink.gov 2.6.32-220.17.1.el6.x86_64 > > #1 > > smp tue may 15 17:16:46 cdt 2012 x86_64 x86_64 x86_64 gnulinux ' > > config_args='-de -Dprefix=/webroot/search' > > hint=previous, useposix=true, d_sigaction=define > > useithreads=undef, usemultiplicity=undef > > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > > use64bitint=define, use64bitall=define, uselongdouble=undef > > usemymalloc=n, bincompat5005=undef > > Compiler: > > cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > > optimize='-O2', > > cppflags='-fno-strict-aliasing -pipe -fstack-protector > > -I/usr/local/include -fno-strict-aliasing -pipe -fstack-protector > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > > -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.4.6 20120305 (Red > > Hat > > 4.4.6-4)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, > > doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, > > d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, > > nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, > > prototype=define > > Linker and Libraries: > > ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' > > libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 > > libs=-lnsl -ldl -lm -lcrypt -lutil -lc > > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc > > libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a > > gnulibc_version='2.12' > > Dynamic Linking: > > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > > cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib > > -fstack-protector' > > > > > > Characteristics of this binary (from libperl): > > Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP > > USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO > > Built under linux > > Compiled at Oct 23 2012 17:36:44 > > %ENV: > > PERLLIB="/webroot/search/perl/lib/perl5/site_perl/5.8.5:/webroot/search/ > > perl /imolibs" PERL_LWP_SSL_VERIFY_HOSTNAME="0" > > @INC: > > /webroot/search/perl/lib/perl5/site_perl/5.8.5 > > /webroot/search/perl/imolibs > > /usr/local/lib/perl5/5.10.1/x86_64-linux > > /usr/local/lib/perl5/5.10.1 > > /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux > > /usr/local/lib/perl5/site_perl/5.10.1 > > .
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Download (untitled) / with headers
text/plain 2.7k
Hi Mike, I reported ticket 81575 with SLES 11 and Net::SSLeay::SSLeay_add_ssl_algorithms hanging in FIPS_mode_set() and you recommended trying a newer openssl. I've now compiled openssl-1.0.1c, and now I'm having a problem very similar to what Mark reported here. Maybe you or Mark can help me. openssl was compiled from source with default options, and fPIC (whatever that is). ./config -fPIC && make && make test && make install installed to /usr/local/ssl/lib and Net::SSLeay install started with LD_LIBRARY_PATH="/usr/local/ssl/lib" && cpanp install Net::SSLeay Skipping network tests, I get: Installing Net::SSLeay (1.49) Running [/usr/local/bin/perl -e use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die $@ if $@; } /home/tdcroot/.cpanplus/5.16.2/build/Net-SSLeay-1.49/Makefile.PL]... Cannot determine license info from lib/Net/SSLeay.pod *** Found OpenSSL-1.0.1c installed in /usr/local/ssl *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json [ERROR] MAKE failed: Inappropriate ioctl for device Skip blib/lib/Net/SSLeay.pm (unchanged) Skip blib/lib/Net/SSLeay.pod (unchanged) Skip blib/lib/Net/SSLeay/Handle.pm (unchanged) cc -c -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC "-I/usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/CORE" SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/lib/../lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz \ /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 [ERROR] Unable to create a new distribution object for 'Net::SSLeay' -- cannot continue *** Install log written to: /home/tdcroot/.cpanplus/install-logs/Net-SSLeay-1.49-1355141179.log Error installing 'Net::SSLeay' Problem installing one or more modules Any help much appreciated Paul Boldra
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Mon, 10 Dec 2012 19:08:25 +0000 (GMT+00:00)
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mark G Pohl <mark.g.pohl [...] ugov.gov>
Download (untitled) / with headers
text/plain 3.5k
Paul, I eventually abandoned Net-SSLeay version 1.49 and used version 1.35. I think that is the version that you find when you try to do an install using yum. I recommend doing any install with yum if that is possible. I have had much better success with that option. To see if you have access to this library try this on the command line "yum info perl-Net-SSLeay" You might need to be root or do sudo for this to work. Regards, Mark Mark Pohl Contractor CSC in support of T304 ISMC, Intelink Web Developer mark.g.pohl@ugov.gov 410-854-9637 Show quoted text
----- Original Message ----- From: "Paul Boldra via RT" <bug-Net-SSLeay@rt.cpan.org> To: "mark g pohl" <mark.g.pohl@ugov.gov> Sent: Monday, December 10, 2012 7:09:09 AM Subject: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > Hi Mike, I reported ticket 81575 with SLES 11 and Net::SSLeay::SSLeay_add_ssl_algorithms hanging in FIPS_mode_set() and you recommended trying a newer openssl. I've now compiled openssl-1.0.1c, and now I'm having a problem very similar to what Mark reported here. Maybe you or Mark can help me. openssl was compiled from source with default options, and fPIC (whatever that is). ./config -fPIC && make && make test && make install installed to /usr/local/ssl/lib and Net::SSLeay install started with LD_LIBRARY_PATH="/usr/local/ssl/lib" && cpanp install Net::SSLeay Skipping network tests, I get: Installing Net::SSLeay (1.49) Running [/usr/local/bin/perl -e use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die $@ if $@; } /home/tdcroot/.cpanplus/5.16.2/build/Net-SSLeay-1.49/Makefile.PL]... Cannot determine license info from lib/Net/SSLeay.pod *** Found OpenSSL-1.0.1c installed in /usr/local/ssl *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json [ERROR] MAKE failed: Inappropriate ioctl for device Skip blib/lib/Net/SSLeay.pm (unchanged) Skip blib/lib/Net/SSLeay.pod (unchanged) Skip blib/lib/Net/SSLeay/Handle.pm (unchanged) cc -c -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC "-I/usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/CORE" SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/lib/../lib64" cc -shared -O2 -L/usr/local/lib -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz \ /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 [ERROR] Unable to create a new distribution object for 'Net::SSLeay' -- cannot continue *** Install log written to: /home/tdcroot/.cpanplus/install-logs/Net-SSLeay-1.49-1355141179.log Error installing 'Net::SSLeay' Problem installing one or more modules Any help much appreciated Paul Boldra
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Tue, 11 Dec 2012 08:07:01 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 4.1k
Hello, This looks like the problem in your build, similar to Marks: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 I wonder if the problem is that your FIPS openssl only has non-shared libraries built. You might consider: a making shared libraries for openssl b building net-ssleay non-shared. On Monday, December 10, 2012 07:09:08 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > Hi Mike, > > I reported ticket 81575 with SLES 11 and > Net::SSLeay::SSLeay_add_ssl_algorithms hanging in FIPS_mode_set() and > you recommended trying a newer openssl. I've now compiled > openssl-1.0.1c, and now I'm having a problem very similar to what Mark > reported here. Maybe you or Mark can help me. > > openssl was compiled from source with default options, and fPIC > (whatever that is). > > ./config -fPIC && make && make test && make install > > installed to /usr/local/ssl/lib > > and Net::SSLeay install started with > LD_LIBRARY_PATH="/usr/local/ssl/lib" && cpanp install Net::SSLeay > Skipping network tests, I get: > > Installing Net::SSLeay (1.49) > Running [/usr/local/bin/perl -e use strict; BEGIN { my $old = select > STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die > $@ if $@; } > /home/tdcroot/.cpanplus/5.16.2/build/Net-SSLeay-1.49/Makefile.PL]... > Cannot determine license info from lib/Net/SSLeay.pod > *** Found OpenSSL-1.0.1c installed in /usr/local/ssl > *** Be sure to use the same compiler and options to compile your > OpenSSL, perl, > and Net::SSLeay. Mixing and matching compilers is not supported. > Do you want to run external tests? > These tests *will* *fail* if you do not have network connectivity. [n] > Writing Makefile for Net::SSLeay > Writing MYMETA.yml and MYMETA.json > [ERROR] MAKE failed: Inappropriate ioctl for device Skip > blib/lib/Net/SSLeay.pm (unchanged) > Skip blib/lib/Net/SSLeay.pod (unchanged) > Skip blib/lib/Net/SSLeay/Handle.pm (unchanged) > cc -c -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.49\" > -DXS_VERSION=\"1.49\" -fPIC > "-I/usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/CORE" SSLeay.c > Running Mkbootstrap for Net::SSLeay () > chmod 644 SSLeay.bs > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > LD_RUN_PATH="/lib/../lib64" cc -shared -O2 -L/usr/local/lib > -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ > -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 > against `.text' can not be used when making a shared object; recompile > with -fPIC > /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > [ERROR] Unable to create a new distribution object for 'Net::SSLeay' -- > cannot continue > > *** Install log written to: > /home/tdcroot/.cpanplus/install-logs/Net-SSLeay-1.49-1355141179.log > > Error installing 'Net::SSLeay' > Problem installing one or more modules > > > > > Any help much appreciated > > Paul Boldra
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Download (untitled) / with headers
text/html 20.3k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 3.9k
I solved this by compiling openssl with ./config shared threads Thanks for your help. On Mon Dec 10 17:07:24 2012, mikem@open.com.au wrote: Show quoted text
> Hello, > > > This looks like the problem in your build, similar to Marks: > > > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse- > linux/bin/ld: > /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 > against `.text' can not be used when making a shared object; recompile > with -fPIC > /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > I wonder if the problem is that your FIPS openssl only has non-shared > libraries built. > > You might consider: > > a making shared libraries for openssl > b building net-ssleay non-shared. > > On Monday, December 10, 2012 07:09:08 AM you wrote:
> > Queue: Net-SSLeay > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > > > Hi Mike, > > > > I reported ticket 81575 with SLES 11 and > > Net::SSLeay::SSLeay_add_ssl_algorithms hanging in FIPS_mode_set()
> and
> > you recommended trying a newer openssl. I've now compiled > > openssl-1.0.1c, and now I'm having a problem very similar to what
> Mark
> > reported here. Maybe you or Mark can help me. > > > > openssl was compiled from source with default options, and fPIC > > (whatever that is). > > > > ./config -fPIC && make && make test && make install > > > > installed to /usr/local/ssl/lib > > > > and Net::SSLeay install started with > > LD_LIBRARY_PATH="/usr/local/ssl/lib" && cpanp install Net::SSLeay > > Skipping network tests, I get: > > > > Installing Net::SSLeay (1.49) > > Running [/usr/local/bin/perl -e use strict; BEGIN { my $old = select > > STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0);
> die
> > $@ if $@; } > > /home/tdcroot/.cpanplus/5.16.2/build/Net-SSLeay-1.49/Makefile.PL]... > > Cannot determine license info from lib/Net/SSLeay.pod > > *** Found OpenSSL-1.0.1c installed in /usr/local/ssl > > *** Be sure to use the same compiler and options to compile your > > OpenSSL, perl, > > and Net::SSLeay. Mixing and matching compilers is not supported. > > Do you want to run external tests? > > These tests *will* *fail* if you do not have network connectivity.
> [n]
> > Writing Makefile for Net::SSLeay > > Writing MYMETA.yml and MYMETA.json > > [ERROR] MAKE failed: Inappropriate ioctl for device Skip > > blib/lib/Net/SSLeay.pm (unchanged) > > Skip blib/lib/Net/SSLeay.pod (unchanged) > > Skip blib/lib/Net/SSLeay/Handle.pm (unchanged) > > cc -c -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE > > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
> -DVERSION=\"1.49\"
> > -DXS_VERSION=\"1.49\" -fPIC > > "-I/usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/CORE"
> SSLeay.c
> > Running Mkbootstrap for Net::SSLeay () > > chmod 644 SSLeay.bs > > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > > LD_RUN_PATH="/lib/../lib64" cc -shared -O2 -L/usr/local/lib > > -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so
> \
> > -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > > > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-
> linux/bin/ld:
> > /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 > > against `.text' can not be used when making a shared object;
> recompile
> > with -fPIC > > /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > > > > [ERROR] Unable to create a new distribution object for 'Net::SSLeay'
> --
> > cannot continue > > > > *** Install log written to: > > /home/tdcroot/.cpanplus/install-logs/Net-SSLeay-1.49-
> 1355141179.log
> > > > Error installing 'Net::SSLeay' > > Problem installing one or more modules > > > > > > > > > > Any help much appreciated > > > > Paul Boldra
Subject: Re: [rt.cpan.org #80383] Problem linking Net-SSLeay-1.49 on Linux
Date: Wed, 12 Dec 2012 06:59:44 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Good news. Thanks for the tip. Cheers. On Tuesday, December 11, 2012 06:45:15 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > I solved this by compiling openssl with > > ./config shared threads > > Thanks for your help. > > On Mon Dec 10 17:07:24 2012, mikem@open.com.au wrote:
> > Hello, > > > > > > This looks like the problem in your build, similar to Marks: > > > > > > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse- > > linux/bin/ld: > > /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 > > against `.text' can not be used when making a shared object; recompile > > with -fPIC > > /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > > I wonder if the problem is that your FIPS openssl only has non-shared > > libraries built. > > > > You might consider: > > > > a making shared libraries for openssl > > b building net-ssleay non-shared. > > > > On Monday, December 10, 2012 07:09:08 AM you wrote:
> > > Queue: Net-SSLeay > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80383 > > > > > > > Hi Mike, > > > > > > I reported ticket 81575 with SLES 11 and > > > Net::SSLeay::SSLeay_add_ssl_algorithms hanging in FIPS_mode_set()
> > > > and > >
> > > you recommended trying a newer openssl. I've now compiled > > > openssl-1.0.1c, and now I'm having a problem very similar to what
> > > > Mark > >
> > > reported here. Maybe you or Mark can help me. > > > > > > openssl was compiled from source with default options, and fPIC > > > (whatever that is). > > > > > > ./config -fPIC && make && make test && make install > > > > > > installed to /usr/local/ssl/lib > > > > > > and Net::SSLeay install started with > > > LD_LIBRARY_PATH="/usr/local/ssl/lib" && cpanp install Net::SSLeay > > > Skipping network tests, I get: > > > > > > Installing Net::SSLeay (1.49) > > > Running [/usr/local/bin/perl -e use strict; BEGIN { my $old = select > > > STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0);
> > > > die > >
> > > $@ if $@; } > > > /home/tdcroot/.cpanplus/5.16.2/build/Net-SSLeay-1.49/Makefile.PL]... > > > Cannot determine license info from lib/Net/SSLeay.pod > > > *** Found OpenSSL-1.0.1c installed in /usr/local/ssl > > > *** Be sure to use the same compiler and options to compile your > > > OpenSSL, perl, > > > > > > and Net::SSLeay. Mixing and matching compilers is not supported. > > > > > > Do you want to run external tests? > > > These tests *will* *fail* if you do not have network connectivity.
> > > > [n] > >
> > > Writing Makefile for Net::SSLeay > > > Writing MYMETA.yml and MYMETA.json > > > [ERROR] MAKE failed: Inappropriate ioctl for device Skip > > > blib/lib/Net/SSLeay.pm (unchanged) > > > Skip blib/lib/Net/SSLeay.pod (unchanged) > > > Skip blib/lib/Net/SSLeay/Handle.pm (unchanged) > > > cc -c -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE > > > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
> > > > -DVERSION=\"1.49\" > >
> > > -DXS_VERSION=\"1.49\" -fPIC > > > "-I/usr/local/lib/perl5/5.16.2/x86_64-linux-thread-multi/CORE"
> > > > SSLeay.c > >
> > > Running Mkbootstrap for Net::SSLeay () > > > chmod 644 SSLeay.bs > > > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > > > LD_RUN_PATH="/lib/../lib64" cc -shared -O2 -L/usr/local/lib > > > -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so
> > > > \ > >
> > > -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz \ > > > > > > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-
> > > > linux/bin/ld:
> > > /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 > > > against `.text' can not be used when making a shared object;
> > > > recompile > >
> > > with -fPIC > > > /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value > > > collect2: ld returned 1 exit status > > > make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 > > > > > > > > > [ERROR] Unable to create a new distribution object for 'Net::SSLeay'
> > > > -- > >
> > > cannot continue > > > > > > *** Install log written to: > > > /home/tdcroot/.cpanplus/install-logs/Net-SSLeay-1.49-
> > > > 1355141179.log > >
> > > Error installing 'Net::SSLeay' > > > Problem installing one or more modules > > > > > > > > > > > > > > > Any help much appreciated > > > > > > Paul Boldra
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


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.