Thursday 19 January 2017

Failed to link libclntsh.so.11.1 - Oracle DB and Linux

If you want to install Oracle DB on Linux machine and if you have this kind of errors:

Failed to link libclntsh.so.11.1

and

ld: cannot find -lxml11

Most probably you are trying to install 32bit Oracle installer on 64bit Linux.

You should use 64bit Oracle installer on 64bit Linux.


Also, see that you've exported LD_LIBRARY_PATH:

export LD_LIBRARY_PATH=$ORACLE_HOME/lib32

or

export LD_LIBRARY_PATH=$ORACLE_HOME/lib  (for 64bit build artifacts)


No comments:

Post a Comment