If the perl -MDBD::Oracle -E 0 works as root but not as another (non-priviledged) user then the first thing I'd check is the permissions on the directories where it is found when running as root. As root run something like perl -MDBD::Oracle -E 'say $INC{qq{DBD/Oracle.pm}}' and then look at the containing and parent directories as well as their contents. Feels like something is missing the o+rx bits somewhere (either a directory or the shared object .so file in question).
Edit: Another thing in addition to permissions is to look for differences in the environment between root and the not-working user(s; stuff running under apache won't have your usual login environment). Check that things like PERL5LIB or LD_LIBRARY_PATH aren't set to something for the former that's not for the others.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Can't locate loadable object for module DBD::Oracle in @INC
by Fletch
in thread Can't locate loadable object for module DBD::Oracle in @INC
by Calab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |