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.)
In reply to Re: DBD::Oracle throwing below error
by hv
in thread DBD::Oracle throwing below error
by mendeepak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |