I'm using ActivePerl build 1004 and EPIC in eclipse and when trying to use DBI to connect to an Oracle database I get this error:
install_driver(Oracle) failed: Can't load 'C:/Perl/lib/auto/DBD/Oracle +/Oracle.dll' for module DBD::Oracle: load_file:The specified module c +ould not be found at C:/Perl/lib/DynaLoader.pm line 202. at (eval 4) line 3 Compilation failed in require at (eval 4) line 3. Perhaps a required shared library or dll isn't installed where expecte +d at C:/Documents and Settings/rthatche/My Documents/workspace/Junk/aad +t.pl line 35
I tried this in Windows Powershell (basically the dos shell with some linux commands built in) and get the same thing. DBD and DBI are installed. I tried uninstalling and reinstalling ActivePerl and that didn't help. I know the code works fine because I've used it before with no problems. I also checked and the Oracle.dll is in the directory it says it's looking for it in. Could my CLASSPATH or something else have got messed up? I'm using WinXP Pro and I need this to work, but I can't find any info on how to fix it. Thanks for any help.

In reply to oracle driver, dbd, dynaloader.pm by vassago

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.