I am trying to use DBD::Oracle with ActivePerl version 5.8.8.822. I am able to run my code fine on a Linux OS, but when I run on Windows using ActivePerl I am getting the following error message...
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 229.
at (eval 34) line 3
Compilation failed in require at (eval 34) line 3.
Perhaps a required shared library or dll isn't installed where expected...
I found this page
here that said DBD::Oracle wasn't compatible with ActivePerl v5.8.3, and it reccommends reverting back to version 5.6.1. The latest version at the time that was written was 5.8.3. Any ideas if this is still true now or what I should do to get DBD::Oracle working with ActivePerl 5.8.8 ?
This error is happening on the connect line in my code...
use DBI;
my $db = DBI->connect("dbi:Oracle:$DB_TNS","$DB_USER_ID","$DB_PASSWORD", { AutoCommit => 0 });
Thanks...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.