
gnainar
New User
Dec 9, 2002, 1:50 PM
Post #1 of 2
(4987 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
|