Skip Menu |

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

Report information
The Basics
Id: 95606
Status: rejected
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: nair.ajit13 [...] hotmail.com
Cc:
AdminCc:

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



Subject: Cryst-SSLeay not working on AIX 6.1
Date: Tue, 13 May 2014 13:53:58 +0530
To: "bug-Crypt-SSLeay [...] rt.cpan.org" <bug-crypt-ssleay [...] rt.cpan.org>
From: Ajit Nair <nair.ajit13 [...] hotmail.com>
Hi, I tried installing the package Crypt-SSLeay-0.72 but it is throwing some issues while performing perl Makefile.PL. *** THIS IS NOT AN ERROR, JUST A MESSAGE FOR YOUR INFORMATION *** Do you really need Crypt::SSLeay? Starting with version 6.02 of LWP, https support was unbundled into LWP::Protocol::https. This module specifies as one of its prerequisites IO::Socket::SSL which is automatically used by LWP::UserAgent unless this preference is overridden separately. IO::Socket::SSL is a more complete implementation, and, crucially, it allows hostname verification. Crypt::SSLeay does not support this. At this point, Crypt::SSLeay is maintained to support existing software that already depends on it. However, it is possible that your software does not really depend on Crypt::SSLeay, only on the ability of LWP::UserAgent class to communicate with sites over SSL/TLS. If are using version LWP 6.02 or later, and therefore have installed LWP::Protocol::https and its dependencies, and do not explicitly use Net::SSL before loading LWP::UserAgent, or override the default socket class, you are probably using IO::Socket::SSL and do not really need Crypt::SSLeay. Before installing Crypt::SSLeay, you may want to try specifying a dependency on LWP::Protocol::https. ld: 0711-738 ERROR: Input file /lib/crt0.o: XCOFF32 object files are not allowed in 64-bit mode. collect2: ld returned 8 exit status Failed to build and link a simple executable using OpenSSL I also tried an older development version Crypt-SSLeay-0.65_02(This is the version I tried to install first) but this is also showing the same error. I am unable to find any workaround for this issue and this package is necessary to install SOAP::Lite package so don’t have any other choice. The output for perl –V bash-3.2# perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=aix, osvers=6.1.0.0, archname=aix-64all uname='aix clustertest0 1 6 00f700a34c00 ' config_args='-d -Dcc=gcc -maix64 -Dusrshrplib -Duse64bitall -Dprefix=/usr/op t/perl5_64' hint=recommended, 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='gcc -maix64 -maix64', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_ SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -I/usr/local/include -maix 64 -DUSE_64_BIT_ALL', optimize='-O', cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.2.0', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321 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='gcc -maix64 -maix64', ldflags =' -Wl,-brtl -Wl,-bdynamic -L/usr/local/li b -Wl,-b64' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker -bE:/usr/opt /perl5_64/lib/5.10.1/aix-64all/CORE/perl.exp' cccdlflags=' ', lddlflags=' -Wl,-b64 -Wl,-bhalt:4 -Wl,-G -Wl,-bI:$(PERL_INC )/perl.exp -Wl,-bE:$(BASEEXT).exp -Wl,-bnoentry -lc -lm -L/usr/local/lib' 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 aix Compiled at Aug 30 2012 14:07:16 @INC: /usr/opt/perl5_64/lib/5.10.1/aix-64all /usr/opt/perl5_64/lib/5.10.1 /usr/opt/perl5_64/lib/site_perl/5.10.1/aix-64all /usr/opt/perl5_64/lib/site_perl/5.10.1 . The OS I am using is AIX 6.1 You may also need the output for gcc –v bash-3.2# gcc -vUsing built-in specs.Target: powerpc-ibm-aix6.1.0.0Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 --disable-libjava-multilibThread model: aixgcc version 4.2.0 It seems to me a bug with the package for AIX system because the same package I had successfully installed in Linux machine. It will be appreciated if you can provide a work around for this issue. Thanks and Regards, Ajit Nair

Message body is not shown because it is too large.

Hello: For your information, this has nothing to do with Perl or Crypt::SSLeay, but rather is due to the version of binutils installed on your system. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10815 ## David Edelsohn 2003-06-02 17:37:38 UTC ## ## Subject: Re: [AIX] C compiler cannot create executables ## ## >>>>> rolf-alois walter@db com writes: ## ## rolf> How would you classify this problem? Is it a bug in gcc? Or a bug in binutils? Or just a feature? ## ## This is a bug in Binutils, not GCC. On Tue May 13 04:24:13 2014, nair.ajit13@hotmail.com wrote: Show quoted text
> Hi, > > > > I tried installing the package Crypt-SSLeay-0.72 but it is > throwing some issues while performing perl Makefile.PL. > > > > > > *** THIS IS NOT AN ERROR, JUST A MESSAGE > FOR YOUR INFORMATION *** > > > > Do you really need Crypt::SSLeay? > > > > Starting with version 6.02 of LWP, https > support was unbundled into > > LWP::Protocol::https. This module specifies > as one of its prerequisites > > IO::Socket::SSL which is automatically used > by LWP::UserAgent unless > > this preference is overridden separately. > IO::Socket::SSL is a more > > complete implementation, and, crucially, it > allows hostname > > verification. Crypt::SSLeay does not > support this. At this point, > > Crypt::SSLeay is maintained to support > existing software that already > > depends on it. > > > > However, it is possible that your software > does not really depend on > > Crypt::SSLeay, only on the ability of > LWP::UserAgent class to > > communicate with sites over SSL/TLS. > > > > If are using version LWP 6.02 or later, and > therefore have installed > > LWP::Protocol::https and its dependencies, > and do not explicitly use > > > Net::SSL before loading LWP::UserAgent, or override the default socket > > class, you are probably using > IO::Socket::SSL and do not really need > > Crypt::SSLeay. > > > > Before installing Crypt::SSLeay, you may > want to try specifying a > > dependency on LWP::Protocol::https. > > > > ld: 0711-738 ERROR: Input file > /lib/crt0.o: > > XCOFF32 object files are not allowed in > 64-bit mode. > > collect2: ld returned 8 exit status > > Failed to build and link a simple > executable using OpenSSL > > > > I also tried an older development version Crypt-SSLeay-0.65_02(This > is the version I tried to install first) but this is also showing the > same > error. > > I am unable to find any workaround for this issue and this > package is necessary to install SOAP::Lite package so don’t have any > other > choice. > > > > The output for perl –V > > bash-3.2# perl -V > > Summary of my perl5 (revision 5 version 10 subversion 1) > configuration: > > > > Platform: > > osname=aix, osvers=6.1.0.0, > archname=aix-64all > > uname='aix clustertest0 1 6 > 00f700a34c00 ' > > config_args='-d -Dcc=gcc > -maix64 -Dusrshrplib -Duse64bitall -Dprefix=/usr/op > > t/perl5_64' > > hint=recommended, 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='gcc -maix64 -maix64', > ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_ > > SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe > -I/usr/local/include -maix > > 64 -DUSE_64_BIT_ALL', > > optimize='-O', > > cppflags='-D_ALL_SOURCE > -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN > > -fno-strict-aliasing -pipe > -I/usr/local/include' > > ccversion='', gccversion='4.2.0', gccosandvers='' > > intsize=4, longsize=8, > ptrsize=8, doublesize=8, byteorder=87654321 > > 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='gcc -maix64 -maix64', > ldflags =' -Wl,-brtl -Wl,-bdynamic -L/usr/local/li > > b -Wl,-b64' > > libpth=/usr/local/lib /lib /usr/lib > /usr/ccs/lib > > libs=-lbind -lnsl -ldbm -ldl -lld > -lm -lcrypt -lc > > perllibs=-lbind -lnsl -ldl -lld > -lm -lcrypt -lc > > libc=/lib/libc.a, so=a, > useshrplib=false, libperl=libperl.a > > gnulibc_version='' > > Dynamic Linking: > > dlsrc=dl_aix.xs, dlext=so, > d_dlsymun=undef, ccdlflags='-Xlinker -bE:/usr/opt > > /perl5_64/lib/5.10.1/aix-64all/CORE/perl.exp' > > cccdlflags=' ', lddlflags=' -Wl,-b64 -Wl,-bhalt:4 -Wl,-G > -Wl,-bI:$(PERL_INC > > )/perl.exp -Wl,-bE:$(BASEEXT).exp -Wl,-bnoentry -lc -lm > -L/usr/local/lib' > > > > > > 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 aix > > Compiled at Aug 30 2012 14:07:16 > > @INC: > > /usr/opt/perl5_64/lib/5.10.1/aix-64all > > /usr/opt/perl5_64/lib/5.10.1 > > /usr/opt/perl5_64/lib/site_perl/5.10.1/aix-64all > > /usr/opt/perl5_64/lib/site_perl/5.10.1 > > . > > > > The OS I am using is AIX 6.1 > > > > You may also need the output for gcc –v > > bash-3.2# gcc -vUsing built-in specs.Target: powerpc-ibm- > aix6.1.0.0Configured with: ../configure --with-as=/usr/bin/as --with- > ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware > --enable-threads --enable-version-specific-runtime-libs > --host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 > --build=powerpc-ibm-aix6.1.0.0 --disable-libjava-multilibThread model: > aixgcc version 4.2.0 > > > > It seems to me a bug > with the package for AIX system because the same package I had > successfully > installed in Linux machine. > > It will be appreciated if you can provide a work around for > this issue. > > > > Thanks and Regards, > > Ajit Nair