CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
PERL Installation Problem::Bad Magic Number

 



gnainar
New User

Dec 9, 2002, 1:50 PM

Post #1 of 2 (2565 views)
PERL Installation Problem::Bad Magic Number Can't Post

Hi,

Im trying to install the Crypt-SSLeay0.45 module in the HP-UX 11.11 box. (The reasion im installing this module is to health check the SSL Web server(https://somesite.com)instance using perl program.) When I run the "make test" command im getting the "Exec format error" error.

*************************************
PERL_DL_NONLAZY=1 /opt/perl/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/net_ssl.........../usr/lib/dld.sl: Bad magic number for shared library: blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Exec format error
Can't load 'blib/arch/auto/Crypt/SSLeay/SSLeay.sl' for module Crypt::SSLeay: Exec format error at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
at lib/Net/SSL.pm line 15
Compilation failed in require at lib/Net/SSL.pm line 15.
Compilation failed in require at t/net_ssl.t line 5.
BEGIN failed--compilation aborted at t/net_ssl.t line 5.
t/net_ssl...........dubious

****************************************

Version of the perl installed in this box is "v5.6.1 built for PA-RISC1.1-thread-multi"

Information about the box:
ELF-64 executable object file - PA-RISC 2.0 (LP64)

Information about the SSLeay.sl file::
ELF-64 shared object file - PA-RISC 2.0 (LP64)

I dont know whether the perl binary compiled in 32 bit or 64 bit mode. Is it because I'm trying to install the 64 bit shared object file in to 32 bit perl installation? How do I find which bit of perl is installed? Or is there any other problem which is causing this error? Thanks in Advance


Paul
Enthusiast

Dec 9, 2002, 4:33 PM

Post #2 of 2 (2563 views)
Re: [gnainar] PERL Installation Problem::Bad Magic Number [In reply to] Can't Post

Maybe you'll find something here?

http://search.yahoo.com/bin/search?p=Bad+magic+number+for+shared+library

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives