I believe you want the directories dbd and dbi to be uppercase.  Here is a
snapshot of our structure on a RH 7.2 box:

drwxr-xr-x    3 root     root         4096 Dec 11 08:09 Apache
-r--r--r--    1 root     root        35434 May  1  2001 Apache.pm
drwxr-xr-x   29 root     root         4096 Mar 31 12:22 auto
drwxr-xr-x    2 root     root         4096 Sep 19  2001 Bundle
-r--r--r--    1 root     root         3277 Mar  3  2000 cgi_to_mod_perl.pod
drwxr-xr-x    2 root     root         4096 Dec 10 19:28 Compress
drwxr-xr-x    2 root     root         4096 Apr 21 22:50 DBD
drwxr-xr-x    2 root     root         4096 Apr 21 22:50 DBI
-r--r--r--    1 root     root       185564 Feb  6 22:15 DBI.pm
drwxr-xr-x    2 root     root         4096 Dec  9 11:11 Digest
-r--r--r--    1 root     root         4733 Aug  5  1999 Digest.pm
drwxr-xr-x    2 root     root         4096 Dec 10 20:12 HTML
drwxr-xr-x    2 root     root         4096 Aug 24  2001 Image
-r--r--r--    1 root     root         1159 Aug  5  1999 MD5.pm
drwxr-xr-x    2 root     root         4096 Dec 10 20:03 MIME
-r--r--r--    1 root     root         2706 Feb 29  2000 mod_perl_cvs.pod
-r--r--r--    1 root     root          512 Feb 27  2001 mod_perl_hooks.pm
-r--r--r--    1 root     root           43 Jul 18  1998 mod_perl_hooks.pm.PL
-r--r--r--    1 root     root         4781 Mar  3  2000
mod_perl_method_handlers.pod
-r--r--r--    1 root     root         1096 Jul 11  2001 mod_perl.pm
-r--r--r--    1 root     root        27538 Nov 28  2000 mod_perl.pod
-r--r--r--    1 root     root        11781 Mar  3  2000 mod_perl_traps.pod
-r--r--r--    1 root     root        17520 Mar  3  2000 mod_perl_tuning.pod
-r--r--r--    1 root     root         1292 May  2  2000 oraperl.ph
-r--r--r--    1 root     root        27606 Aug  6  2001 Oraperl.pm
-r--r--r--    1 root     root         1608 Mar  8  1999 SHA.pm
drwxr-xr-x    3 root     root         4096 Mar 31 12:20 Term
drwxr-xr-x    2 root     root         4096 Mar 31 12:22 Text
drwxr-xr-x    2 root     root         4096 Mar 31 12:19 Time
drwxr-xr-x    2 root     root         4096 Sep 19  2001 Win32


Creigh Tompkins
Universal Leaf Tobacco Co.

-----Original Message-----
From: Tom Waitman [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 1:27 AM
To: [EMAIL PROTECTED]
Subject: Can't locate loadable object for module DBI


I'm a new Linux user, new to MySQL, etc.  I have recently installed a new
system and have the problem below.  I have pored over the available
documentation extensively and just can't find what I have done wrong.  I
apologize in advance if this is something stupid, but I am really stuck.
After I installed MySQL (3.23.49a-1 including bench, client, and devel and
shared) I installed Data-ShowTable-3.3, Data-Dumper-2.101, DBI-1.18.  All of
these completed without any obvious problems.  Then when I attempted to
install Msql-Mysql-modules-1.2218 I ran into this problem that I can't load
DBI.pm.  As you can see from the text below, the file is indeed there, but
the error message says that it can't be loaded.

Can anyone help me?  Thanks much in advance?

Tom
-------------------

[root@localhost root]# cd /usr/lib/perl5/site_perl/5.6.0/i386-linux
[root@localhost i386-linux]# ls
auto  Bundle  dbd  dbi  DBI.pm  Digest  HTML  MIME  Storable.pm  Win32  XML
[root@localhost i386-linux]# ls -l
total 204
drwxr-xr-x   10 root     root         4096 May 22 15:01 auto
drwxr-xr-x    2 root     root         4096 May 23 19:48 Bundle
drwxr-xr-x    2 root     root         4096 May 18 17:25 dbd
drwxr-xr-x    2 root     root         4096 May 18 17:25 dbi
-r-xr-xr-x    1 root     root       148668 Jun  4  2001 DBI.pm
drwxr-xr-x    2 root     root         4096 Apr 29 12:57 Digest
drwxr-xr-x    2 root     root         4096 Apr 29 12:57 HTML
drwxr-xr-x    2 root     root         4096 Apr 29 12:57 MIME
-r--r--r--    1 root     root        15658 Apr  2  2000 Storable.pm
drwxr-xr-x    2 root     root         4096 May 18 17:25 Win32
drwxr-xr-x    3 root     root         4096 Apr 29 12:57 XML
[root@localhost i386-linux]# perl
use DBI;
Can't locate loadable object for module DBI in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 183
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 183.
Compilation failed in require at - line 1.
BEGIN failed--compilation aborted at - line 1.
[root@localhost i386-linux]#
IMPORTANT NOTICE:  The contents of this e-mail are confidential to the
ordinary user of the e-mail address to which it was addressed and may also
be privileged.  If you are not the addressee of this e-mail you may not
copy, forward, disclose or otherwise use it or any part of it in any form
whatsoever.  If you have received this e-mail in error please e-mail the
sender by replying to this message.

Reply via email to