Oracle.dll load Failure (XP)
am 21.08.2006 17:01:44 von jean-michel.le-cardinal--=_alternative 0052D697C12571D1_=
Content-Type: text/plain; charset="us-ascii"
ActivePerl 5.8.4.810 is installed on a WinXP box.
I downloaded and installed DBI 1.50 and DBD-Oracle 1.17 without incurring
any errors.
However, when attempting to run this code:
.....
if ($dbh = DBI->connect($Bdd, $User, $Pass)) {
print "Connexion reussie !!!\n";
} else {
print "ERREUR : $DBI::errstr\n";
exit();
}....
with the correct values, I get a pop-up box titled: perl.exe - Entry Point
Not Found
which states: The procedure entry point Perl_Glockhook_ptr could
not be located in the dynamic link library perl58.dll.
Must click OK, at which point the command window displays 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 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 d:\dev\moi\perl\oracletest3.pl line 17
The Oracle.dll exists in C:/Perl58/site/lib/auto/DBD/Oracle.
The Oracle client is installed and works correctly, via SQL*Plus.
I have also ActivePerl5.6.1 Build 638 installed in a separate directory
on this XP box (d:\dvni\perl6), it has DBI and DBD-Oracle also and it
works
perfectly with the code snippet above.
I have seen that someone has had the same problem but the solution does
not appear.
Thanks in advance for your help.
--=_alternative 0052D697C12571D1_=--