Problem "usr/lib/dld.sl: Bad magic number for shared library"

[email protected] ("Kanagalekar, Vaibhav") Fri, 10 May 2002 16:23:01 -0400
Newsgroups perl.dbi.oracle-oci
Message-ID <[email protected]>

>  -----Original Message-----
> From: 	Kanagalekar, Vaibhav  
> Sent:	Friday, May 10, 2002 4:22 PM
> To:	'[email protected]'
> Cc:	Kong, Alan; Dempsey, Peter
> Subject:	
> 
> hello:
> I have a very urgent questions for installing 
> DBD::ORACLE mordel.
> 
> after i run the command "make test",following error 
> appeared :
> cp Changes blib/lib/DBI/Changes.pm
> rm -f blib/arch/auto/DBI/DBI.sl
> LD_RUN_PATH="" ld -b -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.
> sl
> chmod 755 blib/arch/auto/DBI/DBI.sl
> cp DBI.bs blib/arch/auto/DBI/DBI.bs
> chmod 644 blib/arch/auto/DBI/DBI.bs
> 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/basics............/usr/lib/dld.sl: Bad magic number for shared library:
> blib/a
> rch/auto/DBI/DBI.sl
> /usr/lib/dld.sl: Exec format error
> Can't load 'blib/arch/auto/DBI/DBI.sl' for module DBI: Exec format error
> at /opt
> /perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
> at blib/lib/DBI.pm line 223
> BEGIN failed--compilation aborted at blib/lib/DBI.pm line 223.
> Compilation failed in require at t/basics.t line 21.
> BEGIN failed--compilation aborted at t/basics.t line 21. 
> Can you help ? 
> Vaibhav
>