replace the following line under the Linux section of the $AD_TOP/bin/adrelinknew.sh:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
with
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'

and run adrelink again.

Do i have to re-run adpatch against merged patches or just run adrelink.sh?
The other adpatch window is still on and I did not exited out of it.

oracle@hmf-hrm-001:/data/rel12/apps/apps_st/appl> which cc
which: no cc in (/data/rel12/apps/tech_st/10.1.3/perl/bin:/data/rel12/apps/tech_st/10.1.2/bin:/data/rel12/apps/apps_st/appl/fnd/12.0.0/bin:/data/rel12/apps/apps_st/appl/ad/12.0.0/bin:/data/rel12/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/data/rel12/apps/apps_st/comn/util/unzip/unzip::/data/rel12/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/data/rel12/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/usr/bin:/data/rel12/apps/tech_st/10.1.2/bin:/data/oracle/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/data/rel12/apps/tech_st/10.1.3/appsutil/jdk/bin:/data/rel12/apps/tech_st/10.1.3/ant/bin)