Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th February 2007, 01:33 PM
rh-penguin's Avatar
rh-penguin Offline
Registered User
 
Join Date: Jan 2007
Location: SW London
Age: 23
Posts: 10
Installing Net::SSLeay Perl module on x86_64

hi,

First of all, i know this a FC forum and im running Debian(Etch) but can you still please try and help me? I've had Net::SSLeay installed before on debian etch(x86) and everything was working fine.
Now i just installed debian etch(x86_64) and tried to install Net::SSLeay but im getting the folowing error's when i run ./Makefile.PL -t or ./Makefile.PL.
Code:
debian-x86:/home/cookie/Net_SSLeay.pm-1.23# ./Makefile.PL -t
Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
You have OpenSSL-0.9.8d installed in /usr/local/ssl
That's is newer than what this module was tested with (0.9.6j
or 0.9.7b). You should
consider checking if there is a newer release of this module
available. Everything will probably work OK, though.
*** /usr/local/ssl/bin/openssl appears to be compiled with gcc (gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DMD5_ASM
) while perl is compiled with cc. Both must be compiled with the same compiler and flags. Mixing and matching compilers is not supported. at ./Makefile.PL line 137.
Writing Makefile for Net::SSLeay::Handle
Writing Makefile for Net::SSLeay
make[1]: Entering directory `/home/cookie/Net_SSLeay.pm-1.23/Net-SSLeay-Handle-0.50'
Manifying ../blib/man3/Net::SSLeay::Handle.3pm
make[1]: Leaving directory `/home/cookie/Net_SSLeay.pm-1.23/Net-SSLeay-Handle-0.50'
cc -c  -I/usr/local/ssl/include -I/usr/local/ssl/inc32 -I/usr/kerberos/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/lib/perl/5.8/CORE"  -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
SSLeay.c: In function âXS_Net__SSLeay_state_stringâ:
SSLeay.c:2639: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_rstate_stringâ:
SSLeay.c:2657: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_state_string_longâ:
SSLeay.c:2675: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_rstate_string_longâ:
SSLeay.c:2693: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_d2i_SSL_SESSIONâ:
SSLeay.c:3142: warning: passing argument 2 of âd2i_SSL_SESSIONâ from incompatible pointer type
SSLeay.c: In function âXS_Net__SSLeay_alert_desc_stringâ:
SSLeay.c:4891: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_alert_desc_string_longâ:
SSLeay.c:4909: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_alert_type_stringâ:
SSLeay.c:4927: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function âXS_Net__SSLeay_alert_type_string_longâ:
SSLeay.c:4945: warning: assignment discards qualifiers from pointer target type
Running Mkbootstrap for Net::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
cc  -shared -L/usr/local/lib SSLeay.o  -o blib/arch/auto/Net/SSLeay/SSLeay.so   \
           -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto         \

/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 against `a local symbol' 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
debian-x86:/home/cookie/Net_SSLeay.pm-1.23#
At the top of this log it says that this module is pretty old comparing to OpenSSL but i also tried Net::SSLeay 1.30 and im getting the same error.
Can someone please help me?
Thanks!
Reply With Quote
  #2  
Old 5th February 2007, 01:51 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
It looks like you are using the wrong version compiler

Quote:
vailable. Everything will probably work OK, though.
*** /usr/local/ssl/bin/openssl appears to be compiled with gcc (gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DMD5_ASM
) while perl is compiled with cc. Both must be compiled with the same compiler and flags. Mixing and matching compilers is not supported. at ./Makefile.PL line 137.
try

su -
apt-get install gcc-2.95* gcc-3.3* gcc-3.4*

If the command doesn't work remove the wildcards
Attached Thumbnails
Click image for larger version

Name:	Screenshot-3.png
Views:	91
Size:	97.4 KB
ID:	11373   Click image for larger version

Name:	Screenshot-4.png
Views:	75
Size:	98.1 KB
ID:	11374   Click image for larger version

Name:	Screenshot-5.png
Views:	75
Size:	93.4 KB
ID:	11375  
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 5th February 2007 at 01:57 PM.
Reply With Quote
  #3  
Old 5th February 2007, 02:11 PM
rh-penguin's Avatar
rh-penguin Offline
Registered User
 
Join Date: Jan 2007
Location: SW London
Age: 23
Posts: 10
hmm, i installed gcc-2.95* gcc-3.3* gcc-3.4* and removed the libs in the shots you attached (apt-get remove libwhisker-perl libnet-ssleay-perl libcrypt-ssleay-perl) but im still getting the same error
Reply With Quote
  #4  
Old 5th February 2007, 02:16 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by rh-penguin
hmm, i installed gcc-2.95* gcc-3.3* gcc-3.4* and removed the libs in the shots you attached (apt-get remove libwhisker-perl libnet-ssleay-perl libcrypt-ssleay-perl) but im still getting the same error
I gave the screenshot for info only, do any of them provide what you need?
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #5  
Old 5th February 2007, 02:34 PM
rh-penguin's Avatar
rh-penguin Offline
Registered User
 
Join Date: Jan 2007
Location: SW London
Age: 23
Posts: 10
O, ok. I installed all the libs(libwhisker-perl libnet-ssleay-perl libcrypt-ssleay-perl) and its working! Cool!
I needed this in order for Webmin to work with SSL, now it works a treat!

Thanks again! x

Last edited by rh-penguin; 5th February 2007 at 02:47 PM.
Reply With Quote
Reply

Tags
installing, module, netssleay, perl, x8664

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing Net::RawIP perl module. mdl70 Using Fedora 3 19th September 2006 07:02 PM
Can't install perl-Crypt-SSLeay.i386 JimL Installation and Live Media 3 29th May 2006 12:34 PM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Using Fedora 0 16th December 2004 11:42 PM


Current GMT-time: 08:46 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat