Oracle BIEE 安裝編譯報錯 ins_emagent.mk

fjzcau發表於2016-03-03
*************************************************************************************
*************************************************************************************
**Oracle Install:Error in invoking target ‘agent nmhs’ of makefile ins_emagent.mk

]]
[2016-03-03T15:36:09.430+08:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 44] [ecid: 0000LCvPvmJ8Tsxaw9Fg6G1MpyMt00000Z,0] /usr/bin/ld: warning: -z lazyload ignored.[[
/usr/bin/ld: warning: -z nolazyload ignored.
/usr/bin/ld: /Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib//libnmectl.a(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/lib/libnnz11.so so try adding it to the linker command line
/Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/lib/libnnz11.so: could not read symbols: Invalid operation
]]
[2016-03-03T15:36:09.430+08:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 43] [ecid: 0000LCvPvmJ8Tsxaw9Fg6G1MpyMt00000Y,0] make[1]: Leaving directory `/Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1
/sysman/lib'[[
]]
[2016-03-03T15:36:09.433+08:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 44] [ecid: 0000LCvPvmJ8Tsxaw9Fg6G1MpyMt00000Z,0] collect2: error: ld returned 1 exit status[[
make[1]: *** [/Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib/emdctl] Error 1
make: *** [emdctl] Error 2
]]
[2016-03-03T15:36:09.435+08:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 22] [ecid: 0000LCvNgbG8Tsxaw9Fg6G1MpyMt00000D,0] End output from spawned process.
[2016-03-03T15:36:09.439+08:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 22] [ecid: 0000LCvNgbG8Tsxaw9Fg6G1MpyMt00000D,0] ----------------------------------
[2016-03-03T15:36:09.442+08:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 22] [ecid: 0000LCvNgbG8Tsxaw9Fg6G1MpyMt00000D,0] Exception thrown from action: make[[
Exception Name: MakefileException
Exception String: Error in invoking target 'agent nmb nmo nmhs' of makefile '/Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib/ins_emagent.mk'. See '/Data/oracle/product/oraInventory/
logs/install2016-03-03_03-20-21PM.log' for details.
Exception Severity: 1
]]
*************************************************************************************
*************************************************************************************
對於該問題,解法如下:
1、檢視檔案 ins_emagent.mk 的檔案型別
[root@AWS-BigData-Hadoop-Biee03-172-31-54 data]# file /Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib/ins_emagent.mk
/Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib/ins_emagent.mk: makefile script, ASCII text
2、備份該檔案
cp /Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib/ins_emagent.mk /tmp/
3、修改該檔案
用vi開啟,/Data/BIEE/biee11g/MiddlewareHome/Oracle_BI1/sysman/lib/ins_emagent.mk
找到 $(MK_EMAGENT_NMECTL) ,在其後新增:-lnz11
如下:
  1. #===========================
  2. # emdctl
  3. #===========================

  4. $(SYSMANBIN)emdctl:
  5.         $(MK_EMAGENT_NMECTL) -lnnz11    
4、在OUI中“Retry”,該錯誤將不再出現。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22661144/viewspace-2028209/,如需轉載,請註明出處,否則將追究法律責任。

相關文章