[EBS] adpatch error: libgcc_s.so: undefined reference to '_ stack_chk_fail@GLIBC_2.4', adpatchlibgcc_s.so
Error reported by EBS patching through adpatch
/Usr/lib/gcc/x86_64-redhat-linux/4.4.7/32/libgcc_s.so: undefined reference to '_ stack_chk_fail@GLIBC_2.4'
Collect2: ld returned 1 exit status
Make: *** [/soft/ebs12/ERPDB/apps/cmd_st/appl/ad/12.0.0/bin/adwrknew] Error 1
Done with link of ad executable 'adwrknew' on Tue Nov 25 22:41:15 CST 2014
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/soft/ebs12/ERPDB/apps/pai_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 Tue Nov 25 22:41:15 CST 2014
Adrelink is exiting with status 1
End of adrelink session
Date/time is November 25, 2014 Tuesday 22:41:15 CST
**************************************** ******************
Line-wrapping log file for readability...
Done line-wrapping log file.
Original copy is/soft/ebs12/ERPDB/apps/apps_st/appl/admin/ERPDB/log/adrelink. lsv
New copy is/soft/ebs12/ERPDB/apps/pai_st/appl/admin/ERPDB/log/adrelink. log
An error occurred while relinking application programs.
Continue as if it were successful [No]:
After metalink query, some after installation operations are not performed.
Patch 12415211 for RHEL6
$ Cd <12.1 _ INSTALL_DIR>/apps/tech_st/10.1.2/lib
$ Cp-p-R stubs stubsORIG
$ Cd stubs
$ Cp <PATCH_INSTALL_DIR>/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so.
$ Ln-s libgcc_s-2.3.2-stub.so libgcc_s.so.1
$ Ln-s libgcc_s.so.1 libgcc_s.so
$ Cd <12.1 _ INSTALL_DIR>/apps/tech_st/10.1.3/lib
$ Cp-p-R stubs stubsORIG
$ Cd stubs
$ Cp <PATCH_INSTALL_DIR>/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so.
$ Ln-s libgcc_s-2.3.2-stub.so libgcc_s.so.1
$ Ln-s libgcc_s.so.1 libgcc_s.so
Then use adpatch.