install driver failed

install driver failed

am 29.08.2003 03:47:58 von Matt Lyon

I am getting an error message:

install_driver(mysql) failed: Can't locate loadable object for module
DBD::mysql in @INC (@INC contains: /home/httpd/lampwebhosting.com/WebGUI/lib
/usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 15)
line 3
Compilation failed in require at (eval 15) line 3.
Perhaps a module that DBD::mysql requires hasn't been fully installed
at /home/httpd/lampwebhosting.com/WebGUI/lib/WebGUI/Session.pm line 392

I have been nosing around in my system and am noticing some differences in
files. I traced down the above paths and found in
/usr/lib/perl/site-perl/5.8.0/i586-linux/ is a file called Mysql.pm

In that directory is also a Direcoty Mysql. There is also a Direcory and
file for DBI and DBI.pm (amont others). The odd part is the file
permissions. I had a different umask set at the times of installations. The
Directory Mysql is chmod 700 while the file Mysql.pm is chmod 555. The
Directory DBI is chmod 755 and the file DBI.pm is chmod 444. All other perl
modules I installed with the CPAN shell but installed DBD::Mysql manualy
because of an incomplete mysql_config.

Your thoughts, time, and knowledge would be much apperciated.

Thanks

Matt

____________________________________________________________ _____
Help protect your PC: Get a free online virus scan at McAfee.com.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org