CGI bewilderment
Michael Fowler
wolfm at pobox.alaska.net
Sun Jun 6 05:37:20 CDT 1999
Arthur,
Running the calendar.cgi script from the command line doesn't work (did you
just do a perl -c?). Running the following also fails.
michael at slepnir:~> perl -MDBD::mysql -le ''
Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for
module DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm
line 169.
at -e line 0
BEGIN failed--compilation aborted.
Have you upgraded or recompiled DBI recently? If so you need to recompile all
DBDs. If not, try upgrading the DBD::mysql driver. However, I'm almost
entirely certain this is caused from upgrading or recompiling DBI but not
recompiling the DBDs.
Michael
On Sat, Jun 05, 1999 at 09:55:27PM -0800, Arthur Corliss wrote:
> Greetings:
>
> I know I must have done something boneheaded but my calendar script seems to
> be broken. The calendar no longer renders, and logs this to the error log:
>
> install_driver(mysql) failed: Can't load
> '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module
> DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line
> 169.
>
> at (eval 1) line 3
>
> at /home/web_akpm/cgi-bin/calendar.cgi line 49
> install_driver(mysql) failed: Can't load
> '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module
> DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line
> 169.
>
> at (eval 1) line 3
>
> at /home/web_akpm/cgi-bin/calendar.cgi line 49
>
> The script works fine from the command line, so it doesn't appear to be a Perl
> issue, but an apache/environment issue. :-P Anyone care to point out the
> obvious?
>
> --Arthur Corliss
> Bolverk's Lair -- http://www.odinicfoundation.org/arthur/
> "Live Free or Die, the Only Way to Live" -- NH State Motto
>
> =================================================
> Mailing list info: If at any time you wish to (un|re)subscribe to
> the list send the request to majordomo at hfb.pm.org. All requests
> should be in the body, and look like such
> subscribe anchorage-pm-list
> unsubscribe anchorage-pm-list
--
There isn't a mome rath alive that can outgrabe me.
--
=================================================
Mailing list info: If at any time you wish to (un|re)subscribe to
the list send the request to majordomo at hfb.pm.org. All requests
should be in the body, and look like such
subscribe anchorage-pm-list
unsubscribe anchorage-pm-list
More information about the Anchorage-pm
mailing list