天天看點

【翻譯自mos文章】在RHEL7或者OL7上安裝11.2.0.4時遇到錯誤 “undefined reference to symbol ‘B_DestroyKeyObject’”

來源于:

Installation of Oracle 11.2.0.4 on OL7 fails with “undefined reference to symbol ‘B_DestroyKeyObject’” error (文檔 ID 1965691.1)

适用于:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]

Oracle Database - Standard Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]

Linux x86-64

症狀:

在RHEL7或者OL7上安裝Oracle 11.2.0.4 軟體時因為下列報錯而失敗:

【翻譯自mos文章】在RHEL7或者OL7上安裝11.2.0.4時遇到錯誤 “undefined reference to symbol ‘B_DestroyKeyObject’”

安裝日志顯示下面的錯誤:

usr/bin/ld: /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib//libnmectl.a(nmectlt.o): undefined reference to symbol ‘B_DestroyKeyObject’
/usr/bin/ld: note: ‘B_DestroyKeyObject’ is defined in DSO /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so so try adding it to the linker command line
 /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so: could not read symbols: Invalid operation
 collect2: error: ld returne
 INFO: d 1 exit status 
           

原因:

未公開的bug 19692824

解決方法:

01) 忽略 Oracle 11.2.0.4安裝過程中的 undefined symbol error 錯誤并繼續安裝,軟體安裝過程将會在沒有錯誤的情況下成功結束

02) 下載下傳并安裝patch 19692824

03) 為11.2.0.4的HOME設定諸如ORACLE_HOME, PATH等等的環境變量,并使用下面的指令來重新編譯失敗的target

$ make -f $ORACLE_HOME/sysman/lib/ins_emagent.mk agent nmhs
           

繼續閱讀