Linux下安裝oracle,遇到錯誤的解決辦法

mahanso發表於2010-12-13
      今天Linux下安裝Oracle,安裝到86%時,報錯誤:
         Error in invoking target 'all_no_orcl ihsodbc' of makefile '/oracle/product/10g/rdbms/lib/ins_rdbms.mk'. See '/oracle/oraInventory/logs/installActions2010-12-08_01-28-20PM.log' for details.

        嘗試解決:
1、cat /opt/oraInventory/logs/installActions2010-12-08_01-28-20PM.log日誌檔案
     內容如下:

               INFO: mv -f /opt/oracle/product/10g/db/bin/osdbagrp /opt/oracle/product/10g/db/bin/osdbagrp0

INFO: mv osdbagrp /opt/oracle/product/10g/db/bin/osdbagrp

INFO: make[1]: Leaving directory `/opt/oracle/product/10g/db/srvm/lib'

INFO: 

INFO:  - Linking liborasdkbase

INFO: /opt/oracle/product/10g/db/bin/genorasdksh -base

INFO: $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $

INFO: Generating BASE ORASDK library...

INFO: Creating /opt/oracle/product/10g/db/lib/liborasdkbase.so.10.2

INFO: gcc: /usr/lib/libstdc++.so.5: No such file or directory

INFO: /opt/oracle/product/10g/db/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
 

2、缺少libstdc++

回頭檢查rpm安裝包,缺少compat-libstdc++  ,安裝完畢之後,再次安裝,成功。

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

相關文章