Hi,

I am struggling to install the DBI module (see Installing DBI Module). PPM is not working for me, possibly because of restrictions on our LAN, so I have to install modules manually.

I have removed the TinyPerl perl58.dll that I installed. I uninstalled ActiveState Perl. I reinstalled it, and used perl -MExtUtils::Install -e install_default dbi.ppd to install it. It SEEMED to install.

When I run my CGI script I get two errors. The first is a message box, telling me that perl58.dll could not be found in the specified path. Unless ActiveState did not install it, it is there, and it is in my path. When I use Explorer to search for it, it is not found. I am using NT WS and I am not allowed admin rights (seriously).

The second error message, which appears in the browser, is:

Internal Server Error: Can't load 'C:/Program Files/ejd/perl/site/lib/ +auto/DBI/DBI.dll' for module DBI: load_file:The specified module coul +d not be found at C:/Program Files/ejd/perl/lib/DynaLoader.pm line 20 +0. at C:/Program Files/ejd/perl/lib/DBI.pm line 253 BEGIN failed--com +pilation aborted at C:/Program Files/ejd/perl/lib/DBI.pm line 253. Co +mpilation failed in require at C:\DevelopApps\TWRoot\cgi-bin\hello.pl + line 10. BEGIN failed--compilation aborted at C:\DevelopApps\TWRoot\ +cgi-bin\hello.pl line 10.

Edited by BazB: wrapped error message in code tags.


In reply to perl58.dll, dbi, dbi.dll woes by Evyn

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.