Hi,
  With a fresh install of 64bit 5.16.2 on Windows 7 I get the following 
error when trying to use DBD::Oracle:

Error executing run mode 'dbms_test': install_driver(Oracle) failed: 
Can't load
'C:/Perl64/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: 
load_file:%1
is not a valid Win32 application at C:/Perl64/lib/DynaLoader.pm line 191.
  at (eval 61) line 3.
Compilation failed in require at (eval 61) line 3.
Perhaps a required shared library or dll isn't installed where expected

I'm running Oracle 11g XE R2, which only comes as 32bit. So I suspected 
that it was looking for the 64bit client libraries and not finding them. 
So I downloaded
instantclient-basic-windows.x64-11.2.0.3.0.zip
instantclient-sqlplus-windows.x64-11.2.0.3.0.zip
instantclient-sdk-windows.x64-11.2.0.3.0.zip
From:
http://www.oracle.com/technetwork/topics/winx64soft-089540.html
And installed to c:\oraclexe\instantclient_11_2

I added these to my path:
C:\>set PATH = c:\oraclexe\instantclient_11_2;%PATH%
But unfortunately the error persisted :(

On checking my PATH:
echo %PATH%
I could see that the set was getting ignored. I guess that was a 
permissions issue.

So I edited the system path variable and restarted the command prompt. 
This fixed the issue and allowed me to connect :)

I thought I'd post this so that someone else with the same issue might 
come across it.


Lyle

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to