DBD problem on HPUX-11
- Hi all,
My system admin. installed a perl ver. 5.6.1 on HPUX11.
I am unable to connect to the database using DBD. The error I get is
================== ERROR START ==================================
for module DBD::Oracle: No such file or directory
at /opt/tools/PERL561HPO11/lib/DynaLoader.pm line 206.
at ./Mytest.pl line 3
Compilation failed in require at ./Mytest.pl line 3.
BEGIN failed--compilation aborted at ./Mytest.pl line 3.
================== ERROR END ==================================
Though the file "Oracle.sl" exisits in the said path, but some how
it is not being loaded.
Following is my perl program
================= PERL PROG. START =============================
$dbh = DBI->connect("dbi:Oracle:host=myhost.mydomain.com;sid=mysid",
my $sth = $dbh->prepare('select * from test');
my $count = 0;
while ( my @val = $sth->fetchrow_array())
print "DB record $val, $val\n";
================= PERL PROG. END =============================
Can anyone help?