Thank you, Daniel, Tymm, Alpert, Ann, Michele, Steven et al. for all your
help - what I hadn't done was set the LD_LIBRARY_PATH environment variable:
LD_LIBRARY_PATH=${ORACLE_HOME}/lib
export LD_LIBRARY_PATH
As easy as that!!
Thanks again,
doug.
-----Original Message-----
From: Doug Johnson [mailto:doug_at_slamon.com]
Sent: Monday, August 21, 2000 3:25 PM
To: tru64-unix-managers_at_ornl.gov
Subject: DBD-Oracle module for Perl underTru64 Unix
Hi, people!
I have Perl 5.004002 runnnig under Tru64v5. I am trying to install
DBI-Oracle and DBD-Oracle Perl modules. DBI makes, tests and installs
without any problems. DBD makes but doesn't test properly. Here's the
failure:
--------
PERL_DL_NONLAZY=1
/usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/lib/perl-5.004/lib/alpha-dec
_osf/5.00404 -I/usr/lib/perl-5.004/lib -e 'use Test::Harness qw(&runtests
$verbose); $verbose=0; runtests _at_ARGV;' t/*.t
t/base..............FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/general...........install_driver(Oracle) failed: Can't load
'./blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dlopen:
cannot load ./blib/arch/auto/DBD/Oracle/Oracle.so at
/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404/DynaLoader.pm line 166.
at (eval 1) line 2
Perhaps a required shared library or dll isn't installed where expected
at t/general.t line 20
dubious
Test returned status 2 (wstat 512, 0x200)
t/long..............Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: dlopen: cannot load
./blib/arch/auto/DBD/Oracle/Oracle.so at
/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404/DynaLoader.pm line 166.
at t/long.t line 4
BEGIN failed--compilation aborted at t/long.t line 4.
dubious
Test returned status 2 (wstat 512, 0x200)
t/plsql.............Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: dlopen: cannot load
./blib/arch/auto/DBD/Oracle/Oracle.so at
/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404/DynaLoader.pm line 166.
at t/plsql.t line 17
BEGIN failed--compilation aborted at t/plsql.t line 17.
dubious
Test returned status 2 (wstat 512, 0x200)
t/reauth............skipping test on this platform
Failed Test Status Wstat Total Fail Failed List of failed
----------------------------------------------------------------------------
---
t/base.t 5 2 40.00% 4-5
t/general.t 2 512 ?? ?? % ??
t/long.t 2 512 ?? ?? % ??
t/plsql.t 2 512 ?? ?? % ??
Failed 4/5 test scripts, 20.00% okay. 2/5 subtests failed, 60.00% okay.
*** Exit 2
Stop.
--------
The file ./blib/arch/auto/DBD/Oracle/Oracle.so is there, and I am puzzled as
to why it cannot load. In fact, the whole thing is baffling me!
Long term subscribers to this list may recall Dan Monjar posting exactly the
same problem almost exactly 12 months ago. Unfortunately he tells me that he
received no responses, hence no summary. Are there really no Perl / Oracle /
Tru64 buffs out there who can help me write a summary to this recurring
problem???
Thanks in advance!
Doug Johnson
(doug_at_slamon.com)
Received on Mon Aug 21 2000 - 18:58:07 NZST