I try to connect to Oracle through cygwin, but it fails.
The Oracle version 11.2 is installed on a Windows 2003 server.
Cygwin and Perl is installed on the same server.

cygwin>uname -a CYGWIN_NT-5.2 N0871 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin cygwin>perl -v This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int
The Perl @INC variable contains the current directory ('.')
There is a DBI.pm module installed.
I cd to the directory with the DBI.pm and do:
cygwin>perl -e 'use DBI;' Can't load './auto/DBI/DBI.dll' for module DBI: <br> No such file or directory at at DBI.pm line 263 BEGIN failed--compilation aborted at DBI.pm line 263. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
But there is a DBI.dll installed at ./auto/DBI.
Does this mean there is an installation problem or what?
The DBI.pm is preinstalled and I can't change it (e.g. reinstall).


In reply to Perl/Cygwin/Oracle integration problem by MSiipola

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.