FRM-92101, Forms session aborted: runtime process failed during startup with errors

Recently I have had to install Oracle Application Server for a new system.  After I had finished the pages and pages of installation and configuration, I hit a snag. 

When loading the forms application, I was getting FRM-92101, Forms session <12> aborted: runtime process failed during startup with errors

When I looked in the $ORACLE_HOME/opmn/logs (OC4J~OC4J_BI_Forms~default_island~1) I saw the error

Forms session <12> aborted: runtime process failed during startup with errors /opt/oracle/ias_mt/bin/frmweb: error while loading shared libraries: libiplsn.so.0: cannot open shared object file: No such file or directory

I could see that I had the libiplsn.a but not the so.0 in $ORACLE_HOME/lib

I had check Metalink DOC ID 604633.1 Known Causes of FRM-92101.  Nothing there helped

Oracle support first got me to check I was at a certain level of openmotif, as the pre reqs say it has to be "openmotif21-2.1.30 (or >30) is installed for example : openmotif21-2.1.30"

When checking my system I was at this level, as I had installed in the rpm's as per the install guide

Next they got me to try and relink all the executables

cd $ORACLE_HOME/forms/lib
make -f ins_forms.mk frmcmp_install
make -f ins_forms.mk frmbld_install
make -f ins_forms.mk frmcmpb_install
make -f ins_forms.mk frmweb_install
make -f ins_forms.mk sharedlib

They first four worked perfectly, but on the last one it errored out

[oracle@apptest lib]$ make -f ins_forms.mk sharedlib
for libs in libfrmjsl.so.0 libd2f.so.0 libia.so.0 libic.so.0 libicg.so.0 libid1.so.0 libid2.so.0 libidd.so.0 libidg.so.0 libidl.so.0 libie.so.0 libifc.so.0 libifg.so.0 libig.so.0 libigo.so.0 libihm.so.0 libiic.so.0 libilfrm.so.0 libimc.so.0 libimg.so.0 libioc.so.0 libiod.so.0 libipc.so.0 libipg.so.0 libiplsn.so.0 libiplsd.so.0 libirm.so.0 libit.so.0 libitg.so.0 libiwc.so.0 libiwg.so.0 libsosd.so.0 libibfrmw.so.0 libicw.so.0 libifcw.so.0 libijc.so.0 libijcw.so.0 libiffw.so.0 libiicw.so.0 libiifw.so.0 libiiiw.so.0 libimfw.so.0 libipfw.so.0 libiqw.so.0 libitw.so.0 libiwcw.so.0 libiwfw.so.0 libixw.so.0 libsosdw.so.0; do \
rm -f /opt/oracle/ias_mt/lib//$libs ; \
/opt/oracle/ias_mt/bin/genshlib /opt/oracle/ias_mt/lib//$libs ; \
done
/bin/sh: line 2: /opt/oracle/ias_mt/bin/genshlib: No such file or directory
/bin/sh: line 2: /opt/oracle/ias_mt/bin/genshlib: No such file or directory
/bin/sh: line 2: /opt/oracle/ias_mt/bin/genshlib: No such file or directory (This line was repeated many times)
make: *** [sharedlib] Error 127

Oracle support then suggested downloading and installing Patch:7121788, this patch contains genshlib.  I installed the patch following all the instructions.

Once this patch was applied, I then relinked the executables again, this time they all run perfectly.  I checked in $ORACLE_HOME/lib and the file libiplsn.so.0 was there.  I then retried my forms application and it loaded first time.

I hope you find this helpful.

I am always interested in your thoughts so if you have any comments or feedback then please feel free to add any comments, or you can mail me  here

Create an evernote note via applescript

Run Python Scripts in Automator