Error: can't find libjava.so while installing oracle 9i 32-bit on CentOS 5.4 64-bit

I am trying to install Oracle 9i 32-bit on CentOS 5.4 64-bit OS. I've installed 32-bit Java on the OS and installed all the required RPM's using 'yum'. When I try to invoke the Oracle run installer I get the error Error: can't find libjava.so. When I search for libjava.so file I get the below result,

[oracle@cpldrtest ~]$ find / -name libjava.so
/usr/lib/jdk1.7.0/jre/lib/i386/libjava.so

the bash_profile contains
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

and the owner of the complete 'jdk1.7.0' directory is Oracle. So the 32-bit Java on 64-bit OS the reason for the error or I am missing something from the installation prerequisites.
makk2010Asked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
according to the link I posted above it appears it isn't supported

0
 
objectsCommented:
try adding /usr/lib/jdk1.7.0/jre/lib/i386/ to LD_LIBRARY_PATH
0
 
for_yanCommented:

So, do you see this libjava.so containing folder on:

echo $LD_LIBRARY_PATH ?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
makk2010Author Commented:
Added the path /usr/lib/jdk1.7.0/jre/lib/i386/ to LD_LIBRARY_PATH but no help. Is there any way by which we can make x86_64 OS to appear as i386 to the Oracle installer. I mean when you give the command # uname -a it should give i386.
0
 
for_yanCommented:
You can create 32bit virtual machine hosted by your 64bit system using VMWare or some other
virtualization
0
 
objectsCommented:
> Is there any way by which we can make x86_64 OS to appear as i386 to the Oracle installer. I mean when you give the command # uname -a it should give i386.

no, and you wouldn't want to. You'd get the wrong binaries.
0
 
PilouteCommented:
Hi,

Just can't understand why would you install a 32bit oracle on a 64bit OS...

Why not going for the 64bit 9i ?

Btw, 9i r2 32bit uses jdk 1.3.1 vs the 1.4.2 used by the 64bit 9i release. There's a gap between the java versions for the two bitrates...

I strongly suggest you to go for the 64 bit oracle install.

Cheers,
P
0
 
makk2010Author Commented:
The database that is going to be installed and configured will be a Standby database for a 32-bit Primary Database, so that is the reason we need to install 32-bit Oracle Database server software (since Oracle bitness should be same on both the databases). And to add to that we don't have a 32-bit OS. So just wanted to know whether such a thing could be possible.

I'll probably close the question after 1-2 days.
0
 
for_yanCommented:

If you don't have alternative 32 bit computer - think about virtualization -
didn't do it myself, but heard lots of folks are happy with it
and I believ you can have 32-bit virtual machine on 64 bit host
0
 
PilouteConnect With a Mentor Commented:
Another thing...

Isn't your error realted to LIBCWAIT.SO too ? There's a known bug & a patch (3423540) from oracle about a problem for 9.2.0.4 installs on 64bit platforms...

P
0
 
PilouteCommented:
Oh, and a last thought... Why wouldn't you use a 32bit Centos release ? You could even go for a older one (4.x - that would match the certified RH versions with your 9i)...

P
0
All Courses

From novice to tech pro — start learning today.