mysql driver problem? (slightly off topic)



Hi all, this is slightly off topic but I'm sure someone here has come across this problem. I cannot connect to mysql on my redhat 9 box.

I ran:   shell> perl -MCPAN -e 'install Bundle::DBD::mysql';

and it did say that there was a problem but all I've manged to find out from google is that there maybe some c libraries missing. I don't know where to start with this, I've tried everything I can think of.

Any ideas anyone?

[Wed Apr 27 23:09:37 2005] [error] [client 192.168.1.1] Premature end of script headers: main.pl
[Wed Apr 27 23:09:37 2005] [error] [client 192.168.1.1] install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 1) line 3
[Wed Apr 27 23:09:37 2005] [error] [client 192.168.1.1] Compilation failed in require at (eval 1) line 3.
[Wed Apr 27 23:09:37 2005] [error] [client 192.168.1.1] Perhaps a module that DBD::mysql requires hasn't been fully installed
[Wed Apr 27 23:09:37 2005] [error] [client 192.168.1.1] at /var/www/cgi-bin/main.pl line 9



.



Relevant Pages

  • Re: PHP 5.2 and Mysql
    ... I have redhat 3.0 Enterprise, and mysql ... and php 4.3.9 (installed from an rpm) - I can access data from my mysql ... db using php and the "pear" Db .php. ...
    (comp.lang.php)
  • Re: PostgreSQL or MySQL on RedHat
    ... > I have been using MySQL on RedHat for about a year now. ... > geek friends keep telling me that PostgreSQL is better. ...
    (RedHat)
  • Re: wacky default..
    ... compiling sources, and building packages was ... RedHat-style layout with RedHat style init scripts, logfiles, and lists ... "leave MySQL off by default so a basic installation doesn't also ... require MySQL as well due to library dependencies". ...
    (comp.os.linux.setup)
  • Re: MySQL 4.0.x
    ... >> I have just recently posted a similar request and I guess the Fedora ... >> buying RHEL are happy with this archaic MySQL version either. ... Given that it's RedHat that seems to have the issue with the licensing, ...
    (Fedora)
  • struts failed connection to remote mySQL
    ... I have a struts app running on tomcat 5.0.25 running on my apple (OS ... X)and I am trying to connect to mySQL on a Redhat 9.0 with mySQL ...
    (comp.lang.java.programmer)