Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: DBD::Oracle throwing below error

by hv (Prior)
on Apr 28, 2023 at 11:42 UTC ( [id://11151888]=note: print w/replies, xml ) Need Help??


in reply to DBD::Oracle throwing below error

I suggest starting with a look through the output of ldd /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so, to compare the paths of libraries it successfully finds to the one(s) it does not.

The next question is whether the requested library libclntshcore.so.12.1 exists on the system. If it does, then the problem to solve is getting the linker and the actual location to agree, eg by moving or symlinking the file, or via the environment variable LD_LIBRARY_PATH; if it does not, the next step is to check if Oracle or the O/S supply a package that provides that library.

Beyond that: has it ever worked? What version of perl is it? Did you install DBD::Oracle yourself, or did it come as an O/S package? (If you installed it yourself: did it pass its tests? If it came as an O/S package, it may be a packaging dependencies error.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-16 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found