S_Shrum has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: DBI ?...moving module files manually...no shell or telnet access
by merlyn (Sage) on Jun 05, 2002 at 00:34 UTC | |
by Kanji (Parson) on Jun 05, 2002 at 01:35 UTC | |
by S_Shrum (Pilgrim) on Jun 06, 2002 at 23:20 UTC | |
by S_Shrum (Pilgrim) on Jun 05, 2002 at 23:04 UTC | |
by merlyn (Sage) on Jun 06, 2002 at 00:03 UTC | |
by S_Shrum (Pilgrim) on Jun 06, 2002 at 11:23 UTC | |
|
Re: DBI ?...moving module files manually...no shell or telnet access
by Steve_p (Priest) on Jun 05, 2002 at 00:52 UTC |