Thursday, December 13, 2007

Oracle Application Server and RHEL4

Since most machines now are 64 bit, there's a gotcha when setting up 32 bit software on linux. As detailed here you've got to make sure you have 64 and 32 bit libraries and dev packages for older software like everything oracle makes. You should have the 32 bit libraries, but probably not the dev packages. To get these, just run:

up2date --arch=i386 glibc-devel

rpm -qa | grep glibc

And packages that are installed as both 32 and 64 bit should be listed twice. I don't know how to get rpm to list which packages are 32 or 64 only. You can do `rpm -qi packagename` to find out what the .rpm file's name was, but if it's a source rpm, it won't show how it was compiled.

No comments: