首页 > 代码库 > 【EBS】adpatch报错:libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
【EBS】adpatch报错:libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
EBS通过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/apps_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/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 Tue Nov 25 22:41:15 CST 2014
adrelink is exiting with status 1
End of adrelink session
Date/time is 2014年 11月 25日 星期二 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/apps_st/appl/admin/ERPDB/log/adrelink.log
An error occurred while relinking application programs.
Continue as if it were successful [No] :
后经过metalink查询是有些after installation的操作没有做
RHEL6 要打patch 12415211
$ 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
之后再使用adpatch正常。
【EBS】adpatch报错:libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'