error in invoking target install of makefile
一.引入問題
今天在虛擬機器上安裝一個10g的Oracle,RedHat 6.2 64位的版本,不過Linux上基本都差不多,所以按照以前的步驟,迅速的操作起來,結果遇到N多以前沒有遇到過的錯誤。
1.1 ins_ctx.mk 問題
[oracle@zhang logs]$ tail installActions2012-05-05_01-20-00PM.log
INFO: collect2: ld returned 1 exit status
INFO: make: *** [ctxhx] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'install' of makefile '/u01/app/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk'.See '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log'for details.
Exception Severity: 1
[oracle@zhang logs]$ yum install gcc
Loaded plugins: fastestmirror,refresh-packagekit, security
You need to be root to perform thiscommand.
[oracle@xd logs]$ rpm -qa --queryformat"%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libgcc
libgcc-4.4.6-3.el6 (i686)
libgcc-4.4.6-3.el6 (x86_64)
1.2 ins_rdbms.mk 問題
[oracle@zhang logs]$ tail installActions2012-05-05_01-20-00PM.log
INFO: make[1]: Leaving directory`/u01/app/oracle/product/10.2.0/db_1/rdbms/lib'
INFO: make: *** [extproc32] Error 2
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'all_no_orcl' of makefile '/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'.See '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log'for details.
Exception Severity: 1
1.3 ins_emdb.mk 問題
[oracle@zhang logs]$ tail installActions2012-05-05_01-20-00PM.log
INFO: make[1]: Leaving directory `/u01/app/oracle/product/10.2.0/db_1/sysman/lib'
INFO: make: *** [nmccollector] Error 2
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'collector' of makefile'/u01/app/oracle/product/10.2.0/db_1/sysman/lib/ins_emdb.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log' fordetails.
Exception Severity: 1
解決:修改bash_porfile 新增
LD_LIBRARY_PATH=$ORACLE_HOME/lib
1.4 ins_net_client.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
INFO: /usr/bin/ar:/u01/app/oracle/product/10.2.0/db_1/lib32/nnfgt.o: No such file or directory
INFO: make: *** [nnfgt.o] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'nnfgt.o' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.5 ins_precomp.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
INFO: /bin/chmod: cannot access`/u01/app/oracle/product/10.2.0/db_1/precomp/lib/proc': No such file ordirectory
INFO: make: ***[/u01/app/oracle/product/10.2.0/db_1/precomp/lib/proc] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'relink' of makefile'/u01/app/oracle/product/10.2.0/db_1/precomp/lib/ins_precomp.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.6 ins_plsql.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
collect2: ld returned 1 exit status
INFO: make: *** [wrap] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/plsql/lib/ins_plsql.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.7 ins_net_server.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
collect2: ld returned 1 exit status
INFO: make: *** [tnslsnr] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_server.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.8 ins_nau.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
INFO: ld returned 1 exit status
INFO: make: *** [oklist] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'ioklist iokinit iokdstry' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_nau.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.9 ins_ldap.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
collect2: ld returned 1 exit status
INFO: make: *** [ldapadd] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'clientonlyinstall' of makefile'/u01/app/oracle/product/10.2.0/db_1/ldap/lib/ins_ldap.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.10 ins_srvm.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
INFO: ld returned 1 exit status
INFO: make: *** [rawutl] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/srvm/lib/ins_srvm.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.11 ins_has.mk 問題
[oracle@zhang logs]$ tailinstallActions2012-05-05_01-51-59PM.log
collect2: ld returned 1 exit status
INFO: make: *** [/u01/app/oracle/product/10.2.0/db_1/racg/lib/racgmain]Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
一般情況都是缺包,用yum 把需要的包全部打上之後,再次安裝就沒有問題了。
yum install libXp.i686 libXp-devel.i686 libXt.i686 libXt-devel.i686 libXtst.i686 libXtst-devel.i686 make.x86_64 gcc.x86_64 libaio.x86_64 glibc-devel.i686 libgcc.i686
glibc-devel.x86_64 compat-libstdc++-33 -y
yum install glibc* gcc* make* compat-db* libstdc* libXp* libXtst* compat-libstdc++* -y
其次就是環境變數的問題 看看PATH 和 LD_LIBRARY_PATH
都要加上$ORACLE_HOME/lib
64位加上 $ORACLE_HOME/lib64
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016726/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Exception String: Error in invoking target install of makefileExceptionError
- Error in invoking target “install” of makefile 'ins_ctx.mk'Error
- Error in invoking target 'agent nmhs' of makefileError
- Error in invoking target 'irman ioracle' of makefileErrorOracle
- Error in invoking target install of makefile plsql/lib/ins_plsql.mkErrorSQL
- [Oracle] Error in invoking target 'agent nmhs' of makefileOracleError
- Exception String: Error in invoking target of makefileExceptionError
- Error in invoking target agent nmhs of makefile ins_emagent.mkError
- opensuse install oracle 11gR2 Error in invoking target 'agent nmhs' of makefile '../ins_emagent.mk'OracleError
- Error in invoking targetError
- 安裝12c遇到 Error in invoking target 'irman ioracle' of makefileErrorOracle
- Error in invoking target 'client_sharedlib' of makefile ins_rdbms.mkErrorclient
- CentOS7.6安裝oracle 11.2.0.4 Error in invoking target 'agent nmhs' of makefileCentOSOracleError
- 【Oracle】Linux7安裝11g Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- 安裝as10g3的售後報錯Error in invoking target 'ntcontab.o' of makefileError
- suse oracle 11.2.0.4 Error in invoking target 'agent nmhs' ins_emagent.mkOracleError
- Oracle 10g 安裝報錯Error in invoking target 'all_no_orcl ihsodbc'Oracle 10gError
- Error in invoking..makefile.../11.2.0.3/db_1/network/lib/ins_net_client.mkErrorclient
- Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs'LinuxError
- 安裝oracle11g遇到的Oracle11g Error in invoking target類錯誤OracleError
- Rocky9安裝python3.6報錯 make: *** [Makefile:1102: install] Error 139PythonError
- Install Error : ERROR:SQLException null Resultset [ID 875002.1]ErrorSQLExceptionNull
- Install iSCSI target for Linux with kernel 2.6.14(zt)Linux
- Fatal Error: TXK Install Service,Cannot install Oracle Database HomeErrorOracleDatabase
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- pod》error:The dependency `` is not used in any concrete targetError
- pip install scrapy報錯:error: UnableError
- error ntcontab.o of makefile ins_net_client.mkErrorclient
- CMake Error: add_executable cannot create target ““ because another target with the same name已解決Error
- :-1: error: [Makefile.Debug:1234: debug/moc_serialportthread.cpp] Error 1Errorthread
- linuxmint apt-get install error:Depends...?Linuxapt-getError
- Install 10.2.0.1 Makefile '$ORACLE_HOME/sysman/lib/ins_emdb.mk'-957982.1Oracle
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- Makefile常見錯誤解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- 釋出android apk,Error running app: No target device found.AndroidAPKErrorAPPdev
- R12.2.0 post install checks error : RW-50016: Error: - {0} was not created - 1Error
- R12.2.0 post install checks error : RW-50016: Error: - {0} was not created - 2Error