Friday, May 22, 2009

Error while rebuilding Forms and Reports during the upgradation of 12.0.6 to 12.1.1

while upgrading the oracle Application from 12.0.6 to 12.1.1you may see the following errors during a relink of the 10.1.2 Oracle Home:

/usr/lib/libXtst.so.6: undefined reference to
`__stack_chk_fail@GLIBC_2.4'
/usr/lib/libXtst.so.6: undefined reference to `__fprintf_chk@GLIBC_2.3.4'
/usr/lib/libXtst.so.6: undefined reference to `__sprintf_chk@GLIBC_2.3.4'

Rebuild Forms and Reports executables
cd $ORACLE_HOME/forms/lib32 Note: if this directory does not exist: cd $ORACLE_HOME/forms/lib $ make -f ins_forms.mk install
cd $ORACLE_HOME/reports/lib32 Note: if this directory does not exist: cd $ORACLE_HOME/reports/lib $ make -f ins_reports.mk install
Link to Motif library in Oracle Application Server 10.1.2 (on OEL 5 and RHEL 5 only)
Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:

# unlink /usr/lib/libXtst.so.6# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
Since the ldconfig command overrides this link, the above link command (ln) will have to be re-issued after running the ldconfig command.

No comments: