LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-05-2007, 07:40 AM   #1
rh-penguin
Member
 
Registered: Sep 2006
Location: England, London
Distribution: Debian, BT2
Posts: 57

Rep: Reputation: 15
Installing Net::SSLeay Perl module on x86_64 [SOLVED]


hi,

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!

Last edited by rh-penguin; 02-05-2007 at 08:45 AM.
 
Old 02-05-2007, 08:45 AM   #2
rh-penguin
Member
 
Registered: Sep 2006
Location: England, London
Distribution: Debian, BT2
Posts: 57

Original Poster
Rep: Reputation: 15
I installed the following Libs: apt-get install libwhisker-perl libnet-ssleay-perl libcrypt-ssleay-perl and its works fine.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Net::SSLeay and Slackware kdepa Slackware 1 03-29-2007 06:14 AM
libnet-ssleay-perl not installing? plainkeyman Ubuntu 1 09-13-2006 12:55 PM
Using Perl NET::TELNET module DannyM Linux - Networking 4 02-15-2005 11:31 AM
Net:SSLeay and Redhat 8 Beelzebub Linux - Software 1 01-26-2003 01:46 PM
perl-module Net::RawIP - install problem nic_d Linux - Software 0 07-06-2002 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration