My Oracle Support Banner

19c Database Installation or Patching on AIX 7.x fails with Error :"ld: 0711-317 ERROR: Undefined symbol: .hos*******" (Doc ID 2992231.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
IBM AIX on POWER Systems (64-bit)

Symptoms

  1. Fresh Installation


    During Installation of Oracle Database 19c on AIX 7.1/2, Below Errors are noticed-

    INFO:
    ld: 0711-317 ERROR: Undefined symbol: .hosgip
    ld: 0711-317 ERROR: Undefined symbol: .hostena
    ld: 0711-317 ERROR: Undefined symbol: .hosgenv
    ld: 0711-317 ERROR: Undefined symbol: .hosg_AgentVer
    ld: 0711-317 ERROR: Undefined symbol: .hosgsip
    ld: 0711-317 ERROR: Undefined symbol: .hosdafr
    ld: 0711-317 ERROR: Undefined symbol: .hosgcsc
    ld: 0711-317 ERROR: Undefined symbol: .hosnstrchr
    ld: 0711-317 ERROR: Undefined symbol: .hosdabr
    ld: 0711-317 ERROR: Undefined symbol: .hosgfocn

    INFO:
    make: 1254-004 The error code from the last command is 8.

    Stop.

    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'idg4odbc' of makefile '<ORACLE_HOME>/lib/ins_rdbms.mk'. See '/<CENTRAL_INVENTORY>/logs/InstallActions2023-11-08_01-31-04AM/installActions2023-11-08_01-31-04AM.log' for details.
    Exception Severity: 1
  2. Patching


    Patching may fail with below errors-

    [Dec 16, 2023 1:01:25 AM] [INFO]    OPatch continues with these patches:   35643107  35655527
    [Dec 16, 2023 1:01:25 AM] [INFO]    Do you want to proceed? [y|n]
    [Dec 16, 2023 1:01:25 AM] [INFO]    Y (auto-answered by -silent)
    [Dec 16, 2023 1:01:25 AM] [INFO]    User Responded with: Y

    [Dec 16, 2023 1:10:16 AM] [WARNING] OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk ihsalloci ORACLE_HOME=<ORACLE_HOME> OPATCH_SESSION=napply"....'ld: 0711-224 WARNING: Duplicate symbol: p_xargc

                                        ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
                                        ld: 0711-319 WARNING: Exported symbol not defined: sldext
                                        ld: 0711-319 WARNING: Exported symbol not defined: ztapis
                                        ld: 0711-317 ERROR: Undefined symbol: .hostena
                                        ld: 0711-317 ERROR: Undefined symbol: .hostrace
                                        ld: 0711-317 ERROR: Undefined symbol: .hosngcl
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnisshifted
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnupper
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnlower
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstrchr
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstrstr
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstristr
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstrcmp
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstricmp
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnissingleb
                                        make: The error code from the last command is 8.
                                        
                                        
                                        Stop.
                                        '
    [Dec 16, 2023 1:10:16 AM] [INFO]    Stack Description: java.lang.RuntimeException: ld: 0711-224 WARNING: Duplicate symbol: p_xargc

                                        ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
                                        ld: 0711-319 WARNING: Exported symbol not defined: sldext
                                        ld: 0711-319 WARNING: Exported symbol not defined: ztapis
                                        ld: 0711-317 ERROR: Undefined symbol: .hostena
                                        ld: 0711-317 ERROR: Undefined symbol: .hostrace
                                        ld: 0711-317 ERROR: Undefined symbol: .hosngcl
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnisshifted
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnupper
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnlower
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstrchr
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstrstr
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstristr
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstrcmp
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnstricmp
                                        ld: 0711-317 ERROR: Undefined symbol: .hosnissingleb
                                        make: The error code from the last command is 8.
                                        
                                        
                                        Stop.
                                        
                                            at oracle.opatch.MakeAction.apply(MakeAction.java:538)
                                            at oracle.opatch.OPatchSession.runMake(OPatchSession.java:757)
                                            at oracle.opatch.OPatchSession.runMake(OPatchSession.java:699)
                                            at oracle.opatch.MergedPatchObject.invokeConsolidatedMake(MergedPatchObject.java:1903)
                                            at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1550)
                                            at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:371)
                                            at oracle.opatch.opatchutil.NApply.process(NApply.java:353)
                                            at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1139)
                                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
                                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
                                            at java.lang.reflect.Method.invoke(Method.java:508)
                                            at oracle.opatch.UtilSession.process(UtilSession.java:355)
                                            at oracle.opatch.OPatchSession.main(OPatchSession.java:3956)
                                            at oracle.opatch.OPatchSDK.NApply(OPatchSDK.java:1127)
                                            at oracle.opatch.opatchsdk.OPatchTarget.NApply(OPatchTarget.java:4169)
                                            at oracle.opatchauto.core.binary.action.LegacyPatchAction.execute(LegacyPatchAction.java:72)
                                            at oracle.opatchauto.core.binary.OPatchAutoBinary.patchWithoutAnalyze(OPatchAutoBinary.java:519)
                                            at oracle.opatchauto.core.binary.OPatchAutoBinary.applyWithoutAnalyze(OPatchAutoBinary.java:406)
                                            at oracle.opatchauto.core.OPatchAutoCore.runOPatchAutoBinary(OPatchAutoCore.java:192)
                                            at oracle.opatchauto.core.OPatchAutoCore.main(OPatchAutoCore.java:75)

    [Dec 16, 2023 1:12:31 AM] [INFO]    45) OUI-67124:Re-link fails on target "ihsalloci".
                                        Re-link fails on target "ihsodbc".
    [Dec 16, 2023 1:12:31 AM] [INFO]    46) OUI-67124:
                                        NApply was not able to restore the home.  Please invoke the following scripts:
                                          - restore.[sh,bat]
                                          - make.txt (Unix only)
                                        to restore the ORACLE_HOME.  They are located under
                                        "<ORACLE_HOME>/.patch_storage/NApply/2023-12-16_00-46-17AM"
    [Dec 16, 2023 1:12:31 AM] [INFO]    --------------------------------------------------------------------------------

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 Fresh Installation
 Patching
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.