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)


Friday 6 January 2017

Install 32bit libraries in 64bit RedHat 6

Trying to install those 32-bit libraries that do not come installed by default with RHEL 6 or above?
Connected the CD, opened and tuned Add/Remove software UI of RHEL and still don't find what you need?

Could it be that you simply have not turned OFF those two filters that may filter out your 32bit stuff?
Go to Filters menu of "Add/Remove software" and uncheck the checkboxes for only latest and only native packages.