DBD Runtime Error
am 23.09.2005 18:34:31 von Sath.Maripitchai------_=_NextPart_001_01C5C05C.ACB213D8
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi there,
=20
On AIX 5.3, we were able to install DBI and DBD modules successfully (?)
on AIX 5.3. I keep getting an error when I connect to Oracle using DBI.
=20
I urgently need some advice. Can you help? =20
=20
Sath Maripitchai
=20
=20
DBI and DBD versions -=20
=20
drwxr-xr-x 7 root 4096 Sep 22 11:33 DBD-Oracle-1.15
drwxr-xr-x 5 root 4096 Mar 18 2004 DBI-1.38
=20
=20
The error message -
=20
install_driver(Oracle) failed: Can't load
'/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DB D/Oracle/Ora
cle.so' for module DBD::Oracle: The file access permissions do not allow
the specified action. at
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/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 testins2.pl line 17
=20
=20
The script contents -=20
=20
#! /usr/bin/perl -w
=20
use DBI;
=20
my%attr =3D
(
PrintError =3D> 1,
RaiseError =3D> 1,
);
=20
my $instance =3D 'mdiap1';
$dbh =3D DBI->connect("dbi:Oracle:$instance","stsc","stsc",\%attr)
or die "Can't connect to Oracle!", $DBI::errstr, "\n";
------_=_NextPart_001_01C5C05C.ACB213D8--