I installed ActiveState Perl 5.10 which comes with DBD::Oracle. I have Oracle installed and working on the machine but when I run the script I receive:
Can't load 'C:/Perl/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:%1 is not a valid Win32 application at C:/Perl/lib/DynaLoader.pm line 202.
at C:\Komodo\test\test.pl line 5
Compilation failed in require at C:\Komodo\test\test.pl line 5.
BEGIN failed--compilation aborted at C:\Komodo\test\test.pl line 5.
can anyone help me? I think I set the paths correctly but not sure.
When I run this script in cygwin I get a pop up box that says my OCI.dll file is missing. My Oracle installation is installed and working but I have it installed in C:\oracle and not C:\program files\. Do you think this is the problem? If so how do I fix it so Perl looks in c:\oracle?