in reply to Re^2: issue with DBD::Oracle module
in thread issue with DBD::Oracle module

As suspected the libclntsh.so.12.1 is missing from the libraries.

So where is that file? What does ldd......libclntsh.so.12.1 return?

Replies are listed 'Best First'.
Re^4: issue with DBD::Oracle module
by as00060 (Novice) on Sep 28, 2015 at 02:55 UTC

    from the ldd output that you can see above. libclntsh.so.12.1 is not found on the machine libclntsh.so.12.1 => not found I am not sure if I can find the library in the OS CD, as it seems to be Oracle specific library file. Please let me know how to get the file.

    Regards, Amitesh
Re^4: issue with DBD::Oracle module
by as00060 (Novice) on Sep 28, 2015 at 03:11 UTC

    from the ldd o/p it is clear that the library is missing

    "LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib"

    Instead I could see another version of that lib.

    ll | grep -i libclntsh.so.11.1 lrwxrwxrwx. 1 oracle dba libclntsh.so -> libclntsh.so.11. -rwxr-xr-x. 1 oracle dba libclntsh.so.11.1.

    Since this seems to be Oracle specific library, I am not sure if it would be present in the OS CD.

    Any ideas ??

      Any ideas ??

      figure it out :)

      you managed to compile DBD-Oracle which means that file was present

      I don't know why its not in your path anymore or why you can't find it, but solution is simple, find file, add path to LD_LIBRARY_PATH, make sure LD_LIBRARY_PATH is set...

      regular sameness

      Also use code tags for code/data, its basic formatting