Problem using Perl DBI-DBD against Oracle
am 05.04.2006 19:54:57 von gba.perl.dbi.users------=_Part_26493_20213249.1144259697617
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi, I'm trying to run this Perl script against a remote Oracle 10g R1
database. I'm using WinXP and i already have the oracle client software (
10.2.0)
installed and working.
My Perl version is 5.8.7
DBI version is: 1.50
DBD version is: 1.17
#!perl -w
use strict;
use DBI;
my $dbh =3D DBI->connect( 'dbi:Oracle:maxdev1', 'scott', 'tiger',
{ RaiseError =3D> 1, AutoCommit =3D> 0 } );
print $dbh->selectrow_array(qq{ SELECT 'Hello World' FROM DUAL });
$dbh->disconnect( );
This is the error message i get:
install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
load_file:The specified procedure could not be found at
C:/Perl/lib/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at C:\Perl\code\select_dual_short.plx line 9
Anybody knows where can i download the DBI & DBD-Oracle packages that work
with Oracle 10g R2 client software??
Regards
GBA
------=_Part_26493_20213249.1144259697617--