I installed an formbulder 11r2 on my centos6.3 .
then I want to run it.
I run the /oracle/Oracle/Middleware/asinst_1/bin/frmbld.sh and then got that error:
error while loading shared libraries libXm.so.3,can not open shared object file ,No such file or directory.
and then,I use #yum install openmotif command to install openmotif which i found in the internet, and it is installed normally.
I run the frmbld.sh and then I get the error again.
Also you should note, that there is a difference between:
yum install openmotif
yum install openmotif22
Motif versions from openmotif 1.X, 2.0, 2.1 and 2.2 are actually different (the library api calls have changes), so this is why you will see linux distributions have both. So, you also will need to do the yum install for the 22 version. After that, the basic infomation in the previously referenced link should help. (IE, make sure the static link is present, and that it's in the LD_LIBRARY_PATH.)