Relink
failed with below error while applying patch 9239089 as part of oracle applications
upgrade from 12.1.1 to 12.1.3
make: ***
[/u01/applmgr/PROD/apps/apps_st/appl/ad/12.0.0/bin/adwrknew] Error 1
Done with
link of ad executable 'adwrknew' on Sat Sep 16 23:00:50 IST 2017
Relink of
module "adwrknew" failed.
See error
messages above (also recorded in log file) for possible
reasons for
the failure. Also, please check that the
Unix userid
running
adrelink has read, write, and execute permissions
on the
directory /u01/applmgr/PROD/apps/apps_st/appl/ad/12.0.0/bin,
and that
there is sufficient space remaining on the disk partition
containing
your Oracle Applications installation.
Done with
link of product 'ad' on Sat Sep 16 23:00:50 IST 2017
adrelink is
exiting with status 1
End of
adrelink session
Date/time
is Sat Sep 16 23:00:50 IST 2017
**********************************************************
You are
running adrelink, version 120.43.12010000.6
Solution: Download
patch 12415211 and perform below steps.
[applmgr@localhost
~]$ cd $ORACLE_HOME/lib
[applmgr@localhost
lib]$ pwd
/u01/applmgr/PROD/apps/tech_st/10.1.2/lib
[applmgr@localhost
lib]$ cp -p -R stubs stubsORIG
[applmgr@localhost
lib]$ cd stubs
[applmgr@localhost
stubs]$ cp
/u02/Softwares/apps_R12_Linux_x86_64/12.1.3/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so
.
[applmgr@localhost
stubs]$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1
[applmgr@localhost
stubs]$ ln -s libgcc_s.so.1 libgcc_s.so
[applmgr@localhost
stubs]$ pwd
/u01/applmgr/PROD/apps/tech_st/10.1.2/lib/stubs
[applmgr@localhost stubs]$ cd ../../../10.1.3/
[applmgr@localhost
10.1.3]$ cd lib/
[applmgr@localhost
lib]$ cp -p -R stubs stubsORIG
[applmgr@localhost
lib]$ cd stubs
[applmgr@localhost
stubs]$ cp
/u02/Softwares/apps_R12_Linux_x86_64/12.1.3/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so
.
[applmgr@localhost
stubs]$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1
[applmgr@localhost
stubs]$ ln -s libgcc_s.so.1 libgcc_s.so
Restart the failed patch 9239089
*****************Happy troubleshooting*******************