I am attempting to move my locally hosted site (which runs great) out to my externally hosted site. I have created a /lib folder in /cgi-bin and refer to the modules there by using "use lib "./lib". Unfortunately, I am getting errors that I just don't understand...well, I understand that it is looking for something and not finding it. I know that the use lib that I am using is valid since it appears that the problem is coming from within the /cgi-bin/lib/DBI.pm module.

Here's the poop I get in my err.log:

[Tue Jun 4 16:29:01 2002] content.pl: [Tue Jun 4 16:29:01 2002] DBI. +pm: [Tue Jun 4 16:29:01 2002] DBI.pm: [Tue Jun 4 16:29:01 2002] DBI +.pm: Can't locate loadable object for module DBI in @INC (@INC contai +ns: ./lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/l +ib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /u +sr/lib/perl5/site_perl .) at lib/DBI.pm line 234 [Tue Jun 4 16:29:01 2002] content.pl: [Tue Jun 4 16:29:01 2002] DBI. +pm: [Tue Jun 4 16:29:01 2002] DBI.pm: BEGIN failed--compilation abor +ted at lib/DBI.pm line 234. [Tue Jun 4 16:29:01 2002] content.pl: [Tue Jun 4 16:29:01 2002] DBI. +pm: Compilation failed in require at lib/DBI.pm line 28. [Tue Jun 4 16:29:01 2002] content.pl: BEGIN failed--compilation abort +ed at /home/httpd/www.shrum.net/cgi-bin/content.pl line 28.

Line 28 of content.pl is use DBI;

Any help getting this mess straightened out would be apprechiated.

======================
Sean Shrum
http://www.shrum.net

Edit by tye to change PRE tags to CODE tags


In reply to DBI ?...moving module files manually...no shell or telnet access by S_Shrum

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.