I am new with perl and DBI, I have a trouble to install DBI over HPUX11i
machine.
environment: HPUX 11i,
perl: 5.8
DBI 1.3.2
Oracle 9.2
There is no error to build makefile and make process. However, when I
run "make test", I got error (please referr to the error message
attached.), If I continue to install DBD:Oracle driver, it will fail.
Please help.
Thanks
Daniel
<<error.txt>>
# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics............./usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/01basics.t line 21.
BEGIN failed--compilation aborted at t/01basics.t line 21.
t/01basics.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/02dbidrv............./usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/02dbidrv.t line 3.
BEGIN failed--compilation aborted at t/02dbidrv.t line 3.
t/02dbidrv.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/03hleak............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/03hleak.t line 8.
BEGIN failed--compilation aborted at t/03hleak.t line 8.
t/03hleak..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/04mods.............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/04mods.t line 8.
BEGIN failed--compilation aborted at t/04mods.t line 8.
t/04mods...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
at t/04mods.t line 8.s, 0.00% okay
bad time specification.skipped
# all skipped: perl 5.008 not configured to support iThreads
t/06attrs............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/06attrs.t line 5.
BEGIN failed--compilation aborted at t/06attrs.t line 5.
t/06attrs..............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/07kids.............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/07kids.t line 5.
BEGIN failed--compilation aborted at t/07kids.t line 5.
t/07kids...............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/10examp............../usr/lib/dld.sl: Bad magic number for shared library:
blib/arch/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
/usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
at blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 250.
Compilation failed in require at t/10examp.t line 5.
BEGIN failed--compilation aborted at t/10examp.t line 5.
t/10examp..............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/15array............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/15array.t line 12.
BEGIN failed--compilation aborted at t/15array.t line 12.
t/15array..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-24
Failed 24/24 tests, 0.00% okay
t/20meta.............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/20meta.t line 19.
BEGIN failed--compilation aborted at t/20meta.t line 19.
t/20meta...............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/30subclass.........../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
# .
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/30subclass.t line 79.
BEGIN failed--compilation aborted at t/30subclass.t line 79.
t/30subclass...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40profile............/usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/40profile.t line 15.
BEGIN failed--compilation aborted at t/40profile.t line 15.
t/40profile............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/41prof_dump........../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/41prof_dump.t line 8.
BEGIN failed--compilation aborted at t/41prof_dump.t line 8.
t/41prof_dump..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/42prof_data........../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/42prof_data.t line 8.
BEGIN failed--compilation aborted at t/42prof_data.t line 8.
t/42prof_data..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/60preparse.........../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/60preparse.t line 3.
BEGIN failed--compilation aborted at t/60preparse.t line 3.
t/60preparse...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/70shell............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at
/u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI/Shell.pm line 76
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at
/u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI/Shell.pm line 76.
BEGIN failed--compilation aborted at
/u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI/Shell.pm line 76.
Compilation failed in require at t/70shell.t line 30.
BEGIN failed--compilation aborted at t/70shell.t line 30.
t/70shell..............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/80proxy............../usr/lib/dld.sl: Bad magic number for shared library:
/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl
/usr/lib/dld.sl: Exec format error
Can't load '/u02/other_app/perl-5.8/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for module
DBI: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 2
29.
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm line 250
BEGIN failed--compilation aborted at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI.pm
line 250.
Compilation failed in require at t/80proxy.t line 7.
BEGIN failed--compilation aborted at t/80proxy.t line 7.
t/80proxy..............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/zz_01basics_pp....... Using DBI::PurePerl (DBI_PUREPERL=2)
t/zz_01basics_pp.......ok
t/zz_02dbidrv_pp.......ok
t/zz_03hleak_pp........ok
t/zz_04mods_pp.........ok
t/zz_05thrclone_pp.....skipped
all skipped: perl 5.008 not configured to support iThreads
t/zz_06attrs_pp........ok
t/zz_07kids_pp.........skipped
all skipped: $h->{Kids} attribute not supported for DBI::PurePerl
t/zz_10examp_pp........ok 44/245 Taint mode switching tests skipped
t/zz_10examp_pp........ok 74/245 Taint attribute tests skipped
t/zz_10examp_pp........ok
t/zz_15array_pp........ok
t/zz_20meta_pp.........ok
t/zz_30subclass_pp.....ok
t/zz_40profile_pp......skipped
all skipped: profiling not supported for DBI::PurePerl
t/zz_41prof_dump_pp....skipped
all skipped: profiling not supported for DBI::PurePerl
t/zz_42prof_data_pp....skipped
all skipped: profiling not supported for DBI::PurePerl
t/zz_60preparse_pp.....skipped
all skipped: preparse not supported for DBI::PurePerl
t/zz_70shell_pp........ok 1/3Use of uninitialized value in concatenation (.) or string
at /u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI/Shell.pm line 266.
Use of uninitialized value in concatenation (.) or string at
/u02/other_app/perl-5.8/DBI-1.32/blib/lib/DBI/Shell.pm line 266.
Use of uninitialized value in concatenation (.) or string at
/usr/local/lib/perl5/5.8.0/Term/Cap.pm line 101.
t/zz_70shell_pp........ok
t/zz_80proxy_pp........skipped
all skipped: modules required for proxy are probably not installed
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
t/01basics.t 255 65280 ?? ?? % ??
t/02dbidrv.t 255 65280 ?? ?? % ??
t/03hleak.t 255 65280 10 10 100.00% 1-10
t/04mods.t 255 65280 3 3 100.00% 1-3
t/06attrs.t 255 65280 ?? ?? % ??
t/07kids.t 255 65280 ?? ?? % ??
t/10examp.t 255 65280 ?? ?? % ??
t/15array.t 255 65280 24 24 100.00% 1-24
t/20meta.t 255 65280 ?? ?? % ??
t/30subclass.t 255 65280 ?? ?? % ??
t/40profile.t 255 65280 ?? ?? % ??
t/41prof_dump.t 255 65280 ?? ?? % ??
t/42prof_data.t 255 65280 ?? ?? % ??
t/60preparse.t 255 65280 ?? ?? % ??
t/70shell.t 255 65280 ?? ?? % ??
t/80proxy.t 255 65280 ?? ?? % ??
8 tests skipped.
Failed 16/34 test scripts, 52.94% okay. 37/529 subtests failed, 93.01% okay.
*** Error exit code 2
Stop.
#