Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Can't locate loadable object for module DBD::Oracle in @INC

by cavac (Prior)
on Apr 10, 2025 at 12:21 UTC ( [id://11164654]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Can't locate loadable object for module DBD::Oracle in @INC
in thread Can't locate loadable object for module DBD::Oracle in @INC

Yes, it certainly sound like DBD::Oracle couldn't load the external (propritary) libraries from instantclient.

Note: It's been a long time since i used Oracle, but DBD::Oracle was always a bit of a bear to install, because the Oracle client bins and libs and configs are just weird and do things a bit different than any other modern database.

Other people had similar problems:

One thing, that trips me up sometimes for all kinds of software installations and permission/usergroup creation stuff: Using old login sessions that haven't loaded all the new permissions and environment variables. If you're stumped, it's always a good idea to close all SSH sessions and start fresh (or reboot, if it's on the local computer).

One thing i would re-check after a session refresh/reboot is that the Oracle provided command line tools (sqlplus, tnsping) still work as a normal user.

Downloading the tarball for DBD::Oracle and running "perl Makefile.PL && make test" as the non-root user might provide additional insight on what is failing.

Checking dmesg output and any selinux errors also often helps. I'm not a RedHat user, but here is a guide on how to check if selinux security is tripping you up in some way: How to read and correct SELinux denial messages

DBD::Oracle has a lot of open issues on the issue tracker. I couldn't find anything related, though, but OP might have additional info to put into the search bar.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Also check out my sisters artwork and my weekly webcomics
  • Comment on Re^4: Can't locate loadable object for module DBD::Oracle in @INC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11164654]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2025-12-14 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (93 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.