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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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


New User

Dec 9, 2002, 1:50 PM

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


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( 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/ Bad magic number for shared library: blib/arch/auto/Crypt/SSLeay/
/usr/lib/ Exec format error
Can't load 'blib/arch/auto/Crypt/SSLeay/' for module Crypt::SSLeay: Exec format error at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/ line 206.
at lib/Net/ line 15
Compilation failed in require at lib/Net/ line 15.
Compilation failed in require at t/net_ssl.t line 5.
BEGIN failed--compilation aborted at t/net_ssl.t line 5.


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 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


Dec 9, 2002, 4:33 PM

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

Maybe you'll find something here?


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

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