Hi all,
I'm building a new server offline and upgrading a bunch of stuff and when I
try and check one of my perl scripts that accesses Mysql, I get the
following error message
Can't locate Mysql.pm in @INC (@INC contains:
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 .) at
/www/htdocs/cgi-bin/getstory3.cgi line 15.
BEGIN failed--compilation aborted at /www/htdocs/cgi-bin/getstory3.cgi line
15.
[Thu Dec 30 01:12:12 1999] [error] [client 127.0.0.1] Premature end of
script headers: /www/htdocs/cgi-bin/getstory3.cgi
[Thu Dec 30 01:12:12 1999] [error] [client 127.0.0.1] unable to include
"/cgi-bin/getstory3.cgi?category=sports" in parsed file
/www/htdocs/sports/index.html
I know that Mysql.pm exists where it should
-r--r--r-- 1 root wheel 23494 Nov 30 09:29
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Mysql.pm
I have just reinstalled the Mysql modules (mysql only) and didn't have any
problems there. I haven't upgraded my perl scripts to use DBI yet, I'm
still using use Mysql (that's the next project). I'm running the most
recent port for FreeBSD and using the mysql-server.sh script to start
mysql. I can access it from the command line, including updating tables,
etc.. so I know mysql is working.
so now I have no clue as to what might be causing the problem... Any ideas.
Jerry
| Thread |
|---|
| • upgrading server / can't locate Mysql.pm | Jerry Preeper | 30 Dec |