in reply to Re: Can't locate loadable object for module DBD::Oracle in @INC
in thread Can't locate loadable object for module DBD::Oracle in @INC
I ran that command as root and the file is found:
$ perl -MDBD::Oracle -E 'say $INC{qq{DBD/Oracle.pm}}' /usr/local/lib64/perl5/5.32/DBD/Oracle.pm
Permissions on the file allow access to the file by the users as well as root. I can tail Oracle.pm as a user.
Regarding the environment variables. That was an issue, but not THE issue. I had to add my environment variables to /etc/httpd/conf.d/env.conf and restart httpd for apache to see them. I'm not sure how else I could update the environment variables for the apache user. One thing I can't seem to do is add the /usr/local/instantclient directory to the path, since the env.conf file doesn't support expanding $PATH.
Thanks for the help. It's appreciated!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can't locate loadable object for module DBD::Oracle in @INC
by afoken (Chancellor) on Apr 09, 2025 at 22:04 UTC | |
|
Re^3: Can't locate loadable object for module DBD::Oracle in @INC
by ikegami (Patriarch) on Apr 09, 2025 at 19:49 UTC | |
by cavac (Prior) on Apr 10, 2025 at 12:21 UTC | |
by Calab (Initiate) on Apr 10, 2025 at 13:52 UTC | |
by ikegami (Patriarch) on Apr 10, 2025 at 15:42 UTC |