In the 64-bit Linux installation of 64-bit Oracle, there are sometimes "Libxext.so.6:cannot open Shared Object file:" Errors. Or sometimes appears libxp.so.6 is needed by openmotif21-2.1.30-11.el ... Error.
This is mainly due to the fact that Oracle installs some 32-bit Lib at the time of installation and can use the following workaround:
# Yum List Available | grep LIBXP
libxp.i686 1.0.0-15.1.el6 Server
libxp.x86_64 1.0.0-15.1.el6 Server
libxp-devel.i686 1.0.0-15.1.el6 Server
libxp-devel.x86_64 1.0.0-15.1.el6 Server
....
So we need to install libxp.i686 and libxp.x86_64
# yum Install libxext.i686
# yum Install libxext.x86_64
Another example in the query GDBM package, found that only x86_64, no 32bit, then you can use
# Yum installs the gdbm.i686 to install 32bit packages.
This article is from the "Night" blog, please be sure to keep this source http://liuqun.blog.51cto.com/3544993/1979206
64-bit Linux Yum installs 32-bit RPM packages