Operating System - HP-UX
1824976 Members
3381 Online
109678 Solutions
New Discussion юеВ

Install Oracle DBI, DBD perl module.

 
Tammy Liang
Regular Advisor

Install Oracle DBI, DBD perl module.

Any one successfully install DBI-1.42, DBD-Oracle-1.15 perl module for Oracle 9.2.0?
I installed Perl 5.8.2 (64 bits)and DBI-1.42 on hp-ux 11.11 w/o problem. However, I run into error message below when I run "make test" on DBD-Oracle-1.15.

PERL_DL_NONLAZY=1 /opt/perl_64/bin/perl "-MExtUtils::Command::MM" "-e" "test_harnes
s(0, 'blib/lib', 'blib/arch')" t/*.t
t/base......./usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/O
racle.sl' for module DBD::Oracle: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-th
read-multi-LP64/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/base.t line 19
The remaining tests will probably also fail with the same error.^G

*** Please read the README and README.help files for help. ***

FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/cursor...../usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracl
e: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm l
ine 229.
at t/cursor.t line 18
Compilation failed in require at t/cursor.t line 18.
BEGIN failed--compilation aborted at t/cursor.t line 18.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/general..../usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
install_driver(Oracle) failed: Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/O
racle.sl' for module DBD::Oracle: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-th
read-multi-LP64/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /faf/DBD-Oracle-1.15/blib/lib/Oraperl.pm line 58
Compilation failed in require at t/general.t line 17.
BEGIN failed--compilation aborted at t/general.t line 17.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/long......./usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracl
e: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm l
ine 229.
at t/long.t line 4
Compilation failed in require at t/long.t line 4.
BEGIN failed--compilation aborted at t/long.t line 4.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/meta......./usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
install_driver(Oracle) failed: Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/O
racle.sl' for module DBD::Oracle: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-th
read-multi-LP64/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/meta.t line 23
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/ph_type..../usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracl
e: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm l
ine 229.
at t/ph_type.t line 18
Compilation failed in require at t/ph_type.t line 18.
BEGIN failed--compilation aborted at t/ph_type.t line 18.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/plsql....../usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracl
e: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm l
ine 229.
at t/plsql.t line 17
Compilation failed in require at t/plsql.t line 17.
BEGIN failed--compilation aborted at t/plsql.t line 17.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/reauth.....skipped
all skipped: no reason given
t/select...../usr/lib/pa20_64/dld.sl: Cannot dlopen load module '/lib/pa20_64/libcl.2' beca
use it contains thread specific data.
Can't load '/faf/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracl
e: Exec format error at /opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm l
ine 229.
at t/select.t line 4
Compilation failed in require at t/select.t line 4.
BEGIN failed--compilation aborted at t/select.t line 4.
dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed 8/9 test scripts, 11.11% okay. 2/5 subtests failed, 60.00% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------------------------
t/base.t 5 2 40.00% 4-5
t/cursor.t 255 65280 ?? ?? % ??
t/general.t 255 65280 ?? ?? % ??
t/long.t 255 65280 ?? ?? % ??
t/meta.t 255 65280 ?? ?? % ??
t/ph_type.t 255 65280 ?? ?? % ??
t/plsql.t 255 65280 ?? ?? % ??
t/select.t 255 65280 ?? ?? % ??
1 test skipped.
*** Error exit code 2

Stop.

take easy, enjoy life
2 REPLIES 2
dirk dierickx
Honored Contributor

Re: Install Oracle DBI, DBD perl module.

It is a lot of trouble getting it to work, i managed it by building a static version instead of a dynamic module.
check the README included with the source code for the complete steps on how to do this.
John Flanagan
Regular Advisor

Re: Install Oracle DBI, DBD perl module.

I tried about a month ago but had no success. Good Luck!