It appears to me that you have several different versions of Perl installed simultaneously - 5.60, 5.6.1/i386, 5.6.1/i686.
The issue is, which version does the "perl" executable (in /usr/bin) come from? Clearly not the one that has the MySQL module installed (5.6.1/i386), since the library for this is not in the @INC variable compiled into it. You probably should reinstall it. Since the current perl executable would be used for this, it should go where that executable can find it. As for why your hack failed, perhaps if you try use lib '/usr/lib/perl5/site_perl/5.6.1/i386-linux'; it will work? That is, drop the "/DBD". The line in GnuDIP is use DBD::mysql; which means it will first look for a directory called "DBD", but you have gone too far down already. --- Creighton MacDonnell ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 10:55 PM Subject: [GnuDIP] Can't locate DBD/mysql.pm Hi All, I have just installed cpanel and for some reason it changed all my settings. Now whenever I telnet to localhost at port 3495(gnudip is listened at TCP 3495). it gives me the following error message. [EMAIL PROTECTED] rc3.d]# telnet localhost 3495 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Can't locate DBD/mysql.pm in @INC (@INC contains: /var/gnudip/lib /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl) at /var/gnudip/lib/dbcore.pm line 19. BEGIN failed--compilation aborted at /var/gnudip/lib/dbcore.pm line 19. Compilation failed in require at /var/gnudip/lib/dbusers.pm line 16. BEGIN failed--compilation aborted at /var/gnudip/lib/dbusers.pm line 16. Compilation failed in require at /var/gnudip/sbin/gdipinet.pl line 38. BEGIN failed--compilation aborted at /var/gnudip/sbin/gdipinet.pl line 38. Connection closed by foreign host. It looks like it can not find the DBD/mysql module. I had tried to re-install perl-DBD-MySQL-1.2215-1.i386.rpm again but the problem still occured. Also I have tried using locate to find mysql.pm. Here is what I get. [EMAIL PROTECTED] perl]# locate mysql.pm /root/.cpan/build/Msql-Mysql-modules-1.2219/mysql/lib/DBD/mysql.pm /root/.cpan/build/Msql-Mysql-modules-1.2219/mysql/lib/Bundle/DBD/mysql.pm /root/.cpan/build/DBD-mysql-2.1026/lib/DBD/mysql.pm /root/.cpan/build/DBD-mysql-2.1026/lib/Bundle/DBD/mysql.pm /root/.cpan/Bundle/DBD/mysql.pm /usr/lib/perl5/site_perl/5.6.1/i386-linux/Bundle/DBD/mysql.pm /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBD/mysql.pm Then I try to include library path in dbcore.pm by using use lib '/usr/lib/perl5/site_perl/5.6.1/i386-linux/DBD'; But same problem still occured. Has any one have any solution for the above problem? Thanx, Jeffrey ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en -- GnuDIP Mailing List http://gnudip2.sourceforge.net/gnudip-www/#mailinglist