We had an Application that needed an Oracle 11 client 32 bits.
There is default no lib32 directory in the Oracle 11 client
But what if you need an 32 bit client
Well then you’ve got to use the oracle instant client.
First make a lib32 directory in the the existing oracle 11 client
Our 11g client is installed in
$ cd /usr/lib/oracle/client11
$ mkdir lib32
$ chmod 2755 (don’t forget)
$ ls –al lib32
drwxr-sr-x 2 oracle oradba 512 Oct 26 15:34 lib32
copy the instant client basic-11.2.0.2.0-linux-ppc32.zip
to the lib32 directory and unzip it
in the .profile for applicatie user op Linux you put the following.
export ORACLE_HOME=/usr/lib/oracle/client11
Export LIBPATH=/usr/lib/oracle/client11/lib32:$LIBPATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib32
export SHLIB_PATH=$ORACLE_HOME/lib32
That’s it or not
On red hat linux you must not forget to roll out the 32 bit library’s
Under root use the following command to do that
$ sudo yum install libaio.i686
And then the 32 bits application works
No comments:
Post a Comment