develooper Front page | perl.dbi.users | Postings from August 2006

Oracle.dll load Failure (XP)

Thread Next
From:
jean-michel.le-cardinal
Date:
August 21, 2006 08:01
Subject:
Oracle.dll load Failure (XP)
Message ID:
OFEEF136F8.225E9B06-ONC12571D1.0052BF5E-C12571D1.0052D78C@dgi.finances.gouv.fr
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. 


 

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About