Re: Perl DBD-oracle wont install complains about ld: Mismatched ABI --HP 11.00
am 21.11.2006 23:12:08 von LHradowy
I have also tried thru CPAN
perl -MCPAN -e shell;
cpan[3]> install Module DBD::Oracle
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................/usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 19
The remaining tests will probably also fail with the same error.
*** Please read the README and README.help.txt files for help. ***
t/01base................FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10general............./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /rootuser/.cpan/build/DBD-Oracle-1.19/blib/lib/Oraperl.pm line 55
Compilation failed in require at t/10general.t line 6.
BEGIN failed--compilation aborted at t/10general.t line 6.
# Looks like your test died before it could output anything.
t/10general.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/15nls................./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/nchar_test_lib.pl line 6
Compilation failed in require at t/nchar_test_lib.pl line 6.
BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6.
Compilation failed in require at t/15nls.t line 9.
# Looks like your test died before it could output anything.
t/15nls.................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/20select............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/20select.t line 4
Compilation failed in require at t/20select.t line 4.
BEGIN failed--compilation aborted at t/20select.t line 4.
t/20select..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/21nchar.............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/21nchar.t line 12
Compilation failed in require at t/21nchar.t line 12.
BEGIN failed--compilation aborted at t/21nchar.t line 12.
# Looks like your test died before it could output anything.
t/21nchar...............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/22nchar_al32utf8....../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/22nchar_al32utf8.t line 9
Compilation failed in require at t/22nchar_al32utf8.t line 9.
BEGIN failed--compilation aborted at t/22nchar_al32utf8.t line 9.
# Looks like your test died before it could output anything.
t/22nchar_al32utf8......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/22nchar_utf8........../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/22nchar_utf8.t line 9
Compilation failed in require at t/22nchar_utf8.t line 9.
BEGIN failed--compilation aborted at t/22nchar_utf8.t line 9.
# Looks like your test died before it could output anything.
t/22nchar_utf8..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db............./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/23wide_db.t line 9
Compilation failed in require at t/23wide_db.t line 9.
BEGIN failed--compilation aborted at t/23wide_db.t line 9.
# Looks like your test died before it could output anything.
t/23wide_db.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db_8bit......../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/23wide_db_8bit.t line 9
Compilation failed in require at t/23wide_db_8bit.t line 9.
BEGIN failed--compilation aborted at t/23wide_db_8bit.t line 9.
# Looks like your test died before it could output anything.
t/23wide_db_8bit........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db_al32utf8..../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/23wide_db_al32utf8.t line 9
Compilation failed in require at t/23wide_db_al32utf8.t line 9.
BEGIN failed--compilation aborted at t/23wide_db_al32utf8.t line 9.
# Looks like your test died before it could output anything.
t/23wide_db_al32utf8....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/24implicit_utf8......./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/24implicit_utf8.t line 12
Compilation failed in require at t/24implicit_utf8.t line 12.
BEGIN failed--compilation aborted at t/24implicit_utf8.t line 12.
# Looks like your test died before it could output anything.
t/24implicit_utf8.......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/25plsql.............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/25plsql.t line 17
Compilation failed in require at t/25plsql.t line 17.
BEGIN failed--compilation aborted at t/25plsql.t line 17.
t/25plsql...............dubious
Test returned status 8 (wstat 2048, 0x800)
t/26exe_array.........../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/26exe_array.t line 4
Compilation failed in require at t/26exe_array.t line 4.
BEGIN failed--compilation aborted at t/26exe_array.t line 4.
t/26exe_array...........dubious
Test returned status 8 (wstat 2048, 0x800)
t/30long................/usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/30long.t line 5
Compilation failed in require at t/30long.t line 5.
BEGIN failed--compilation aborted at t/30long.t line 5.
t/30long................dubious
Test returned status 8 (wstat 2048, 0x800)
t/31lob................./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/31lob.t line 5
Compilation failed in require at t/31lob.t line 5.
BEGIN failed--compilation aborted at t/31lob.t line 5.
# Looks like your test died before it could output anything.
t/31lob.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/40ph_type............./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/40ph_type.t line 18
Compilation failed in require at t/40ph_type.t line 18.
BEGIN failed--compilation aborted at t/40ph_type.t line 18.
t/40ph_type.............dubious
Test returned status 8 (wstat 2048, 0x800)
t/50cursor............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/50cursor.t line 18
Compilation failed in require at t/50cursor.t line 18.
BEGIN failed--compilation aborted at t/50cursor.t line 18.
t/50cursor..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/55nested............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/55nested.t line 17
Compilation failed in require at t/55nested.t line 17.
BEGIN failed--compilation aborted at t/55nested.t line 17.
t/55nested..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/60reauth............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/nchar_test_lib.pl line 6
Compilation failed in require at t/nchar_test_lib.pl line 6.
BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6.
Compilation failed in require at t/60reauth.t line 18.
t/60reauth..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/70meta................/usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/nchar_test_lib.pl line 6
Compilation failed in require at t/nchar_test_lib.pl line 6.
BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6.
Compilation failed in require at t/70meta.t line 21.
t/70meta................dubious
Test returned status 8 (wstat 2048, 0x800)
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------ ------------------------------------------------------------ ---
t/01base.t 5 2 4-5
t/10general.t 255 65280 ?? ?? ??
t/15nls.t 255 65280 ?? ?? ??
t/20select.t 8 2048 ?? ?? ??
t/21nchar.t 255 65280 ?? ?? ??
t/22nchar_al32utf8.t 255 65280 ?? ?? ??
t/22nchar_utf8.t 255 65280 ?? ?? ??
t/23wide_db.t 255 65280 ?? ?? ??
t/23wide_db_8bit.t 255 65280 ?? ?? ??
t/23wide_db_al32utf8.t 255 65280 ?? ?? ??
t/24implicit_utf8.t 255 65280 ?? ?? ??
t/25plsql.t 8 2048 ?? ?? ??
t/26exe_array.t 8 2048 ?? ?? ??
t/30long.t 8 2048 ?? ?? ??
t/31lob.t 255 65280 9 18 1-9
t/40ph_type.t 8 2048 ?? ?? ??
t/50cursor.t 8 2048 ?? ?? ??
t/55nested.t 8 2048 ?? ?? ??
t/60reauth.t 8 2048 ?? ?? ??
t/70meta.t 8 2048 ?? ?? ??
Failed 20/20 test scripts. 11/14 subtests failed.
Files=20, Tests=14, 11 wallclock secs ( 3.42 cusr + 0.30 csys = 3.72
CPU)
Failed 20/20 test programs. 11/14 subtests failed.
*** Error exit code 8
Stop.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PYTHIAN/DBD-Oracle-1.19.tar.gz : make_test NO
LHradowy wrote:
> I have installed:
> http://mirrors.develooper.com/hpux/gcc-4.0.2-11.00.sd.bz
> &
> http://mirrors.develooper.com/hpux/perl-5.8.8-dor-11.00.sd.b z
>
> # find / -name gcc
> /tmp/pa20_64/bin/gcc
> /usr/local/pa20_32/bin/gcc
> /usr/local/pa20_32/lib/gcc
> /usr/local/pa20_32/libexec/gcc
> /usr/local/pa20_64/bin/gcc
> /usr/local/pa20_64/lib/gcc
> /usr/local/pa20_64/libexec/gcc
> /var/adm/sw/products/gcc
>
> PERL:
> -rwxr-xr-x 2 root sys 4371232 Feb 1 2006
> /opt/perl/bin/perl
> -rwxr-xr-x 2 root sys 3365299 Feb 1 2006
> /opt/perl64/bin/perl
> lrwxr-xr-x 1 root sys 18 Nov 21 10:47 /usr/bin/perl
> -> /opt/perl/bin/perl
> -r-xr-xr-x 1 bin bin 544768 Nov 7 1997
> /usr/contrib/bin/perl
>
> I can not load the DBD-Oracle-1.19 module
> When I run:
> perl Makefile.PL
> Every things seem ok, no complaints.
>
> I added the gcc to my $PATH before I began.
> # echo $PATH
> /usr/local/pa20_64/bin:/usr/bin:/usr/sbin:/sbin
>
> When I run make:
> Running Mkbootstrap for DBD::Oracle ()
> chmod 644 Oracle.bs
> rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
> /usr/bin/ld +b "/opt/app/oracle/product/8.1.7/lib" -b
> -L/pro/local/lib Oracle.o dbdimp.o oci8.o -o
> blib/arch/auto/DBD/Oracle/Oracle.sl \
> -L/opt/app/oracle/product/8.1.7/lib -lclntsh -lrt -lpthread
> \
>
> ld: Mismatched ABI (not an ELF file) for -lclntsh
> Fatal error.
> *** Error exit code 1
>
> Stop.
>
>
> I even tried with the:
> perl Makefile.PL -l
I have also tried thru CPAN
perl -MCPAN -e shell;
cpan[3]> install Module DBD::Oracle
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................/usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 19
The remaining tests will probably also fail with the same error.
*** Please read the README and README.help.txt files for help. ***
t/01base................FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10general............./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /rootuser/.cpan/build/DBD-Oracle-1.19/blib/lib/Oraperl.pm line 55
Compilation failed in require at t/10general.t line 6.
BEGIN failed--compilation aborted at t/10general.t line 6.
# Looks like your test died before it could output anything.
t/10general.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/15nls................./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/nchar_test_lib.pl line 6
Compilation failed in require at t/nchar_test_lib.pl line 6.
BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6.
Compilation failed in require at t/15nls.t line 9.
# Looks like your test died before it could output anything.
t/15nls.................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/20select............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/20select.t line 4
Compilation failed in require at t/20select.t line 4.
BEGIN failed--compilation aborted at t/20select.t line 4.
t/20select..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/21nchar.............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/21nchar.t line 12
Compilation failed in require at t/21nchar.t line 12.
BEGIN failed--compilation aborted at t/21nchar.t line 12.
# Looks like your test died before it could output anything.
t/21nchar...............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/22nchar_al32utf8....../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/22nchar_al32utf8.t line 9
Compilation failed in require at t/22nchar_al32utf8.t line 9.
BEGIN failed--compilation aborted at t/22nchar_al32utf8.t line 9.
# Looks like your test died before it could output anything.
t/22nchar_al32utf8......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/22nchar_utf8........../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/22nchar_utf8.t line 9
Compilation failed in require at t/22nchar_utf8.t line 9.
BEGIN failed--compilation aborted at t/22nchar_utf8.t line 9.
# Looks like your test died before it could output anything.
t/22nchar_utf8..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db............./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/23wide_db.t line 9
Compilation failed in require at t/23wide_db.t line 9.
BEGIN failed--compilation aborted at t/23wide_db.t line 9.
# Looks like your test died before it could output anything.
t/23wide_db.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db_8bit......../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/23wide_db_8bit.t line 9
Compilation failed in require at t/23wide_db_8bit.t line 9.
BEGIN failed--compilation aborted at t/23wide_db_8bit.t line 9.
# Looks like your test died before it could output anything.
t/23wide_db_8bit........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db_al32utf8..../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/23wide_db_al32utf8.t line 9
Compilation failed in require at t/23wide_db_al32utf8.t line 9.
BEGIN failed--compilation aborted at t/23wide_db_al32utf8.t line 9.
# Looks like your test died before it could output anything.
t/23wide_db_al32utf8....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/24implicit_utf8......./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/24implicit_utf8.t line 12
Compilation failed in require at t/24implicit_utf8.t line 12.
BEGIN failed--compilation aborted at t/24implicit_utf8.t line 12.
# Looks like your test died before it could output anything.
t/24implicit_utf8.......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/25plsql.............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/25plsql.t line 17
Compilation failed in require at t/25plsql.t line 17.
BEGIN failed--compilation aborted at t/25plsql.t line 17.
t/25plsql...............dubious
Test returned status 8 (wstat 2048, 0x800)
t/26exe_array.........../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/26exe_array.t line 4
Compilation failed in require at t/26exe_array.t line 4.
BEGIN failed--compilation aborted at t/26exe_array.t line 4.
t/26exe_array...........dubious
Test returned status 8 (wstat 2048, 0x800)
t/30long................/usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/30long.t line 5
Compilation failed in require at t/30long.t line 5.
BEGIN failed--compilation aborted at t/30long.t line 5.
t/30long................dubious
Test returned status 8 (wstat 2048, 0x800)
t/31lob................./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/31lob.t line 5
Compilation failed in require at t/31lob.t line 5.
BEGIN failed--compilation aborted at t/31lob.t line 5.
# Looks like your test died before it could output anything.
t/31lob.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/40ph_type............./usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/40ph_type.t line 18
Compilation failed in require at t/40ph_type.t line 18.
BEGIN failed--compilation aborted at t/40ph_type.t line 18.
t/40ph_type.............dubious
Test returned status 8 (wstat 2048, 0x800)
t/50cursor............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/50cursor.t line 18
Compilation failed in require at t/50cursor.t line 18.
BEGIN failed--compilation aborted at t/50cursor.t line 18.
t/50cursor..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/55nested............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/55nested.t line 17
Compilation failed in require at t/55nested.t line 17.
BEGIN failed--compilation aborted at t/55nested.t line 17.
t/55nested..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/60reauth............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/nchar_test_lib.pl line 6
Compilation failed in require at t/nchar_test_lib.pl line 6.
BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6.
Compilation failed in require at t/60reauth.t line 18.
t/60reauth..............dubious
Test returned status 8 (wstat 2048, 0x800)
t/70meta................/usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage:
/opt/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads /libjava.sl
/usr/lib/dld.sl: Exec format error
Can't load
'/rootuser/.cpan/build/DBD-Oracle-1.19/blib/arch/auto/DBD/Or acle/Oracle.sl'
for module DBD::Oracle: Exec format error at
/opt/perl/lib/5.8.8/PA-RISC2.0/DynaLoader.pm line 230.
at t/nchar_test_lib.pl line 6
Compilation failed in require at t/nchar_test_lib.pl line 6.
BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6.
Compilation failed in require at t/70meta.t line 21.
t/70meta................dubious
Test returned status 8 (wstat 2048, 0x800)
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------ ------------------------------------------------------------ ---
t/01base.t 5 2 4-5
t/10general.t 255 65280 ?? ?? ??
t/15nls.t 255 65280 ?? ?? ??
t/20select.t 8 2048 ?? ?? ??
t/21nchar.t 255 65280 ?? ?? ??
t/22nchar_al32utf8.t 255 65280 ?? ?? ??
t/22nchar_utf8.t 255 65280 ?? ?? ??
t/23wide_db.t 255 65280 ?? ?? ??
t/23wide_db_8bit.t 255 65280 ?? ?? ??
t/23wide_db_al32utf8.t 255 65280 ?? ?? ??
t/24implicit_utf8.t 255 65280 ?? ?? ??
t/25plsql.t 8 2048 ?? ?? ??
t/26exe_array.t 8 2048 ?? ?? ??
t/30long.t 8 2048 ?? ?? ??
t/31lob.t 255 65280 9 18 1-9
t/40ph_type.t 8 2048 ?? ?? ??
t/50cursor.t 8 2048 ?? ?? ??
t/55nested.t 8 2048 ?? ?? ??
t/60reauth.t 8 2048 ?? ?? ??
t/70meta.t 8 2048 ?? ?? ??
Failed 20/20 test scripts. 11/14 subtests failed.
Files=20, Tests=14, 11 wallclock secs ( 3.42 cusr + 0.30 csys = 3.72
CPU)
Failed 20/20 test programs. 11/14 subtests failed.
*** Error exit code 8
Stop.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PYTHIAN/DBD-Oracle-1.19.tar.gz : make_test NO
LHradowy wrote:
> I have installed:
> http://mirrors.develooper.com/hpux/gcc-4.0.2-11.00.sd.bz
> &
> http://mirrors.develooper.com/hpux/perl-5.8.8-dor-11.00.sd.b z
>
> # find / -name gcc
> /tmp/pa20_64/bin/gcc
> /usr/local/pa20_32/bin/gcc
> /usr/local/pa20_32/lib/gcc
> /usr/local/pa20_32/libexec/gcc
> /usr/local/pa20_64/bin/gcc
> /usr/local/pa20_64/lib/gcc
> /usr/local/pa20_64/libexec/gcc
> /var/adm/sw/products/gcc
>
> PERL:
> -rwxr-xr-x 2 root sys 4371232 Feb 1 2006
> /opt/perl/bin/perl
> -rwxr-xr-x 2 root sys 3365299 Feb 1 2006
> /opt/perl64/bin/perl
> lrwxr-xr-x 1 root sys 18 Nov 21 10:47 /usr/bin/perl
> -> /opt/perl/bin/perl
> -r-xr-xr-x 1 bin bin 544768 Nov 7 1997
> /usr/contrib/bin/perl
>
> I can not load the DBD-Oracle-1.19 module
> When I run:
> perl Makefile.PL
> Every things seem ok, no complaints.
>
> I added the gcc to my $PATH before I began.
> # echo $PATH
> /usr/local/pa20_64/bin:/usr/bin:/usr/sbin:/sbin
>
> When I run make:
> Running Mkbootstrap for DBD::Oracle ()
> chmod 644 Oracle.bs
> rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
> /usr/bin/ld +b "/opt/app/oracle/product/8.1.7/lib" -b
> -L/pro/local/lib Oracle.o dbdimp.o oci8.o -o
> blib/arch/auto/DBD/Oracle/Oracle.sl \
> -L/opt/app/oracle/product/8.1.7/lib -lclntsh -lrt -lpthread
> \
>
> ld: Mismatched ABI (not an ELF file) for -lclntsh
> Fatal error.
> *** Error exit code 1
>
> Stop.
>
>
> I even tried with the:
> perl Makefile.PL -l