
February 28th, 2002, 03:09 PM
|
|
nerd
|
|
Join Date: Nov 2001
Location: NJ
Posts: 101
Time spent in forums: 9 h 30 m 37 sec
Reputation Power: 7
|
|
|
dbi error
hi
i recently got mysql up and running but am having problems getting perl dbi to work and am hoping someone can shed some light: i wrote a basic script and am executing it from a page - getting 500 internal server error.
i typed: perldoc dbi and it came up so i know it's installed & i'm having no other server problems at the moment
the log's error is:
Code:
install_driver(mysql) failed: Can't find loadable object for module DBD::mysql in @INC (/usr/libdata/perl5/i386-bsdos/5.00402 /usr/libdata/perl5 /usr/libdata/perl5/site_perl/i386-bsdos /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos/include .) at (eval 1) line 2
Perhaps DBD::mysql was statically linked into a new perl binary.
In which case you need to use that new perl binary.
Or perhaps only the .pm file was installed but not the shared object file.
at /www/cgi-bin/mysql_exp2.cgi line 7
httpd: [Thu Feb 28 15:51:06 2002] [error] [client 192.168.1.254] Premature end of script headers: /www/cgi-bin/mysql_exp2.cgi
could someone please help?
thank you
|