Problem with DBD-Oracle
- From: pt1xoom@xxxxxxxxx
- Date: 26 Jul 2005 06:36:38 -0700
I am having a problem with connecting to an Oracle DB with DBD-Oracle.
When I run the script I wrote, I get a popup that says "Perl.exe - No
Entry Point Found The Procedure Entry Point PL_memory_wrap could not be
located in the dynamic link library perl58.dll". Then in the cmd
windows, I get this error:
"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 2) line 3
Compilation failed in require at (eval 2) line 3.
Perhaps a required shared library or dll isn't installed where
expected"
I have the following
Perl 5.8.6
DBD-Oracle 1.16
DBI 1.48
Oracle client 8i, however i get the same error with Oracle client 9i.
Windows 2003.
Here is the code.
use DBI;
$oracle_sid = "TRN1";
$oracle_host = "server";
$oracle_user = "user";
$oracle_pass = "pass";
$oracle_port = 1525;
$dbh_oracle =
DBI->connect('dbi:Oracle:host=$oracle_host;sid=$oracle_sid;port=$oracle_port',
'$oracle_user', '$oracle_pass') or die "Can\'t connect to --
$DBI::errstr\n";
I have confirmed port 1525.
Has anyone else been able to fix this?
Thank you
Patrick
.
- Follow-Ups:
- Re: Problem with DBD-Oracle
- From: pt1xoom
- Re: Problem with DBD-Oracle
- Prev by Date: RE: MsSQL DBD::ODBC IsNull and undef
- Next by Date: Re: Problem with DBD-Oracle
- Previous by thread: Undefined value error
- Next by thread: Re: Problem with DBD-Oracle
- Index(es):
Relevant Pages
|