On Mon, 13 Oct 2003 08:38:56 -0400 "Anderson, James H [IT]"
<[EMAIL PROTECTED]> wrote:

> Although I thought the install was successful, apparently it was not
> :(
> 
> (No, I didn't get your mail re mysql-modules.)
> 
> When I run perl -MDBI -le 'print $DBI::VERSION' as non-root I get
> "Can't locate DBI.pm in @INC".
> When I run it as root I get "1.38". What's going on here???

Check the permissions on DBI.pm and DBI.so.  It appears that root has
permission to read the first and execute the second, but your regular
account does not.

In my system:

$ cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/
$ ll DBI.pm
-r--r--r--    1 root     root       230704 Aug 22 14:25 DBI.pm
$ cd auto/DBI/
$ ll DBI.so
-r-xr-xr-x    1 root     root       138476 Sep  9 06:42 DBI.so

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to