02-07-2012
This one is killing me. I've compiled Perl and OpenSSL from sources as requested, but loading SSL module is still failed with error '
ld.so.1: perl: fatal: relocation error'. Got this one but don't understand well -
http://perldoc.perl.org/perlsolaris.html#MAKE-PROBLEMS.
Please help (desperately)! Here are the full errors:
Quote:
server:/export/home/user/software/Net-SSLeay-1.42]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*/*.t t/*/*/*.t
t/external/08_external.t ......... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/external/08_external.t line 7
Compilation failed in require at t/external/08_external.t line 7.
BEGIN failed--compilation aborted at t/external/08_external.t line 7.
t/external/08_external.t ......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/external/15_altnames.t ......... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/external/15_altnames.t line 6
Compilation failed in require at t/external/15_altnames.t line 6.
BEGIN failed--compilation aborted at t/external/15_altnames.t line 6.
t/external/15_altnames.t ......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/handle/external/10_destroy.t ... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7
Compilation failed in require at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7.
BEGIN failed--compilation aborted at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7.
Compilation failed in require at t/handle/external/10_destroy.t line 21.
BEGIN failed--compilation aborted at t/handle/external/10_destroy.t line 21.
t/handle/external/10_destroy.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/handle/external/50_external.t .. Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7
Compilation failed in require at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7.
BEGIN failed--compilation aborted at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7.
Compilation failed in require at t/handle/external/50_external.t line 7.
BEGIN failed--compilation aborted at t/handle/external/50_external.t line 7.
t/handle/external/50_external.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/handle/local/05_use.t .......... 1/1
# Failed test 'use Net::SSLeay::Handle;'
# at t/handle/local/05_use.t line 8.
# Tried to use 'Net::SSLeay::Handle'.
# Error: Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
# at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7
# Compilation failed in require at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7.
# BEGIN failed--compilation aborted at /export/home/user/software/Net-SSLeay-1.42/blib/lib/Net/SSLeay/Handle.pm line 7.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/handle/local/05_use.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/local/01_pod.t ................. skipped: Test::Pod 1.00 required for testing POD
t/local/02_pod_coverage.t ........ skipped: currently disabled
t/local/03_use.t ................. 1/1
# Failed test 'use Net::SSLeay;'
# at t/local/03_use.t line 8.
# Tried to use 'Net::SSLeay'.
# Error: Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
# at (eval 4) line 2
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/local/03_use.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/local/04_basic.t ............... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/04_basic.t line 6
Compilation failed in require at t/local/04_basic.t line 6.
BEGIN failed--compilation aborted at t/local/04_basic.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/local/04_basic.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/local/05_passwd_cb.t ........... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/05_passwd_cb.t line 7
Compilation failed in require at t/local/05_passwd_cb.t line 7.
BEGIN failed--compilation aborted at t/local/05_passwd_cb.t line 7.
# Looks like your test exited with 2 before it could output anything.
t/local/05_passwd_cb.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/13 subtests
t/local/06_tcpecho.t ............. Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/06_tcpecho.t line 8
Compilation failed in require at t/local/06_tcpecho.t line 8.
BEGIN failed--compilation aborted at t/local/06_tcpecho.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/local/06_tcpecho.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/local/07_sslecho.t ............. Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/07_sslecho.t line 9
Compilation failed in require at t/local/07_sslecho.t line 9.
BEGIN failed--compilation aborted at t/local/07_sslecho.t line 9.
# Looks like your test exited with 2 before it could output anything.
t/local/07_sslecho.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 71/71 subtests
t/local/08_pipe.t ................ Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/08_pipe.t line 6
Compilation failed in require at t/local/08_pipe.t line 6.
BEGIN failed--compilation aborted at t/local/08_pipe.t line 6.
t/local/08_pipe.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/local/15_bio.t ................. Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/15_bio.t line 6
Compilation failed in require at t/local/15_bio.t line 6.
BEGIN failed--compilation aborted at t/local/15_bio.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/local/15_bio.t ................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
t/local/20_autoload.t ............ Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/20_autoload.t line 6
Compilation failed in require at t/local/20_autoload.t line 6.
BEGIN failed--compilation aborted at t/local/20_autoload.t line 6.
t/local/20_autoload.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/local/30_error.t ............... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/30_error.t line 11
Compilation failed in require at t/local/30_error.t line 11.
BEGIN failed--compilation aborted at t/local/30_error.t line 11.
t/local/30_error.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/local/31_rsa_generate_key.t .... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/31_rsa_generate_key.t line 6
Compilation failed in require at t/local/31_rsa_generate_key.t line 6.
BEGIN failed--compilation aborted at t/local/31_rsa_generate_key.t line 6.
t/local/31_rsa_generate_key.t .... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/local/35_ephemeral.t ........... Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/35_ephemeral.t line 6
Compilation failed in require at t/local/35_ephemeral.t line 6.
BEGIN failed--compilation aborted at t/local/35_ephemeral.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/local/35_ephemeral.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/local/50_digest.t .............. Can't load '/export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: ld.so.1: perl: fatal: relocation error: file /export/home/user/software/Net-SSLeay-1.42/blib/arch/auto/Net/SSLeay/SSLeay.so: symbol SSL_get_ex_data_X509_STORE_CTX_idx: referenced symbol not found at /usr/local/lib/perl5/5.14.2/i86pc-solaris/DynaLoader.pm line 190.
at t/local/50_digest.t line 6
Compilation failed in require at t/local/50_digest.t line 6.
BEGIN failed--compilation aborted at t/local/50_digest.t line 6.
t/local/50_digest.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/local/kwalitee.t ............... skipped: Needs Test::Kwalitee
Test Summary Report
-------------------
t/external/08_external.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/external/15_altnames.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/handle/external/10_destroy.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/handle/external/50_external.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/handle/local/05_use.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/local/03_use.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/local/04_basic.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/local/05_passwd_cb.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 13 tests but ran 0.
t/local/06_tcpecho.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/local/07_sslecho.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 71 tests but ran 0.
t/local/08_pipe.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/15_bio.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 7 tests but ran 0.
t/local/20_autoload.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/30_error.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/31_rsa_generate_key.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/35_ephemeral.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/local/50_digest.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=20, Tests=2, 1 wallclock secs ( 0.07 usr 0.05 sys + 0.62 cusr 0.17 csys = 0.91 CPU)
Result: FAIL
Failed 17/20 test programs. 2/2 subtests failed.
make: *** [test_dynamic] Error 255
[14:21:56][server:/export/home/user/software/Net-SSLeay-1.42]#
Last edited by aixlover; 02-07-2012 at 03:41 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Windows & DOS: Issues & Discussions
Hi,
Can anybody help me in writing command "waitfor" for string
"C:\WINNT\Profiles\mfcf0508>" while using net::Telnet module.
I tried the below format :
$telnet->waitfor('/"C\:\WINNT\Profiles\mfcf0508>".*$/i');
Getting error as : pattern match timed-out
Plz help me (3 Replies)
Discussion started by: sudhakaryadav
3 Replies
3. Shell Programming and Scripting
in "cmd" command i want to copy the ouput of the command excuted to a particular file in a directory.
How to do this..??
Ex : $telnet->cmd(String => 'allip:acl=a1;',Prompt => '/</');
i want to copy o/p of the command "allip:acl=a1;" in a log file in a particular directory.
Plz suggest.. (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
4. AIX
Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies
5. Infrastructure Monitoring
I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of
net-snmp
net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my
HPUX box is version
HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am new to this forums and this is my first "asking help" message!
i have 2 problems:
1- for unknown reasons the "source" command is not avalable in my system (UBUNTU). i can't either see it in my bin directory!
2- again for unknown reasons the "login.cl" file in the home... (0 Replies)
Discussion started by: astrosona
0 Replies
7. Shell Programming and Scripting
I'm trying to learn how to get my script to execute the enter button when it telnets into a router and the router displays output but you need to press the space bar or enter button to continue displaying my output of the router.
How is this done? (0 Replies)
Discussion started by: xmaverick
0 Replies
8. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
9. Shell Programming and Scripting
Hi,
I want to install 'Devel-Profile' in windows but i am not able to install.
Here is the error.
PPM> install Devel-Profile
Install package 'Devel-Profile?' (y/N): y
Installing package 'Devel-Profile'...
Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Discussion started by: vanitham
3 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies