【EBS】adpatch報錯:libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4',adpatchlibgcc_s.so

來源:互聯網
上載者:User

【EBS】adpatch報錯:libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4',adpatchlibgcc_s.so

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正常。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.