SAP Knowledge Base Article - Preview

3584625 - Failed to execute link script with /usr/bin/ld: cannot find /usr/lib64/crt1.o: No such file or directory - MOPatch error

Symptom

In OPatch following error can be observed

  • executing: /bin/sh "/oracle/TWD/19.0.0/.mopatchlink.sapbwadev_tanap_local.sh"
    /oracle/TWD/19.0.0/bin/orald -o ctxhx -m64 -z noexecstack -Wl,--disable-new-dtags -L/oracle/TWD/19.0.0/ctx/lib/ -L/oracle/TWD/19.0.0/lib/ -L/oracle/TWD/19.0.0/lib/stubs/  /oracle/TWD/19.0.0/ctx/lib/ctxhx.o -Wl,--unresolved-symbols=ignore-in-shared-libs -L/oracle/TWD/19.0.0/ctx/lib/ -lm -lsc_ca -lsc_fa -lsc_ex -lsc_da -lsc_ut -lsc_ch -lsc_fi -lsc_fmt -lsc_ind -lwv_core -lsc_lo -lsc_fut -lsc_anno -lz -lctxhx -Wl,-L/oracle/TWD/19.0.0/ctx/lib -lsnls19 -lnls19  -lcore19 -lsnls19 -lnls19 -lcore19 -lsnls19 -lnls19 -lxml19 -lcore19 -lunls19 -lsnls19 -lnls19 -lcore19 -lnls19  `cat /oracle/TWD/19.0.0/lib/sysliblist` `cat /oracle/TWD/19.0.0/lib/ldflags`    -lncrypt19 -lnsgr19 -lnzjs19 -ln19 -lnl19 -lngsmshd19 -lnro19 `cat /oracle/TWD/19.0.0/lib/ldflags`    -lncrypt19 -lnsgr19 -lnzjs19 -ln19 -lnl19 -lngsmshd19 -lnnz19 -lzt19 -lztkg19 -Wl,-rpath,'/oracle/TWD/19.0.0/lib:/oracle/TWD/19.0.0/ctx/lib'
    /usr/bin/ld: cannot find /usr/lib64/crt1.o: No such file or directory
    /usr/bin/ld: cannot find /usr/lib64/crti.o: No such file or directory
    make: *** [ctxhx] Error 1
    Cannot execute link script.  Continuing.
    Executing link script "/oracle/TWD/19.0.0/.mopatchlink.sapbwadev_tanap_local.sh"...failed 


  • Link Status:
    ------------
    Failed to execute link script
      /oracle/TWD/19.0.0/.mopatchlink.sapbwadev_tanap_local.sh
    Check the MOPatch log file for details.  Resolve the problems.
    Restart MOPatch to execute the link script.


Read more...

Environment

  • Oracle 19.0.0
  • Linux

Keywords

glibc-devel, Oracle, Failed to execute link script, /usr/bin/ld: cannot find /usr/lib64/crt1.o: No such file or directory, MOPatch error , KBA , BC-DB-ORA , Oracle , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.