in reply to DBI Can't locate loadable object for Module

Execute as root:
perldoc -l DBI
Where is DBI installed? Find the auto directory in the same directory. What permissions are on it and the auto/DBI/* files? Then:
perl -V
What paths are in INC at the end of the output? Execute the same command above as pc8admin. Are the same paths included? Does pc8admin have read permission on all the necessary files (and I think execute on the *.so file)?

Replies are listed 'Best First'.
Re^2: DBI Can't locate loadable object for Module
by Calbrenar (Initiate) on Jun 14, 2012 at 00:44 UTC
    /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm

    perms are rwxr-xr-x for the file. the auto/DBI is drwx------ so I will change that. the files inside auto/DBI are read only (for all) except for the DBI.so which is r-xr-xr-x

    Paths are identical.

    Sorry for the delay in responding--had to run some errands. I will change the directory and retest. Thanks for the quick reply!

    *edit* Changing the directories fixed it. That was easy. Thanks for the command that showed where it was installed that was especially helpful as we had 7 or 8 DBI.pm floating around.