在 ubuntu 14 LTS 中安装 oracle 12c 时出错。卡在 59%。
错误:
调用 makefile“/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk”的目标“all_no_orcl”时出错。有关详细信息,请参阅“/u01/app/oraInventory/logs/installActions2015-10-10_09-31-56PM.log”。
安装操作2015-10-10_09-31-56PM.log:
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: chmod 755 /u01/app/oracle/product/12.1.0/dbhome_1/bin
INFO: rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4odbc mkpatch /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4adbs /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4db2 /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4ifmx /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4ims /u01/app/oracle/product/12.1.0/dbhome_1/rdbms
INFO: /lib/dg4msql /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4sybs /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4tera /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dg4vsam nid adrci wrc extjob extjobo jssu genezi kfod amdu kfed uidrvci diskmon setasmgid renamedg orion asmlg skgxpinfo drdactl drdalsnr drdaproc /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ksms.s /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ksms.o
INFO:
INFO: - Linking DB*Verify utility (dbv)
INFO: rm -f /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dbv
INFO: /u01/app/oracle/product/12.1.0/dbhome_1/bin/orald -o /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dbv -m64 -z noexecstack -Wl,--disable-new-dtags -L/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ -L/u01/app/oracle/product/12.1.0/dbhome_1/lib/ -L/u01/app/oracle/product/12.1.0/dbhome_1/lib/stubs/ /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/s0kudbv.o -ldbtools12 -lclntsh -lclntshcore -lsnls12 -lunls12 -lnls12 -lclntsh -lclntshcore `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/ldflags` -
INFO: lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnro12 `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnnz12 -lzt12 -lztkg12 -lztkg12 -lclient12 -lnnetd12 -lvsn12 -lcommon12 -lgeneric12 -lmm -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnro12 `cat /u01/app/oracle/product
INFO: /12.1.0/dbhome_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lclient12 -lnnetd12 -lvsn12 -lcommon12 -lgeneric12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lclient12 -lnnetd12 -lvsn12 -lcommon12 -lgeneric12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/sysliblist` -Wl,-r
INFO: path,/u01/app/oracle/product/12.1.0/dbhome_1/lib -lm `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/sysliblist` -ldl -lm -L/u01/app/oracle/product/12.1.0/dbhome_1/lib -laio
INFO: /usr/bin/ld: cannot find -laio
INFO: collect2: error: ld returned 1 exit status
INFO: make: *** [/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/dbv] Error 1
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/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2015-10-10_09-31-56PM.log' for details.
Exception Severity: 1
答案1
出现的错误make
似乎是:
/usr/bin/ld: cannot find -laio
因此您的 Ubuntu 安装可能缺少libaio
,它用于内核中的异步 I/O 支持。
我认为你可以通过运行以下命令来安装:
sudo apt-get install libaio1
其他人已经整理了在 Ubuntu 15.04 上安装 Oracle 12c 的指南这个答案。这(特别是在 Oracle 之前安装的软件包列表)可能有助于您在 Ubuntu 14.04 上运行它。
Ubuntu 不在列表中支持的 Linux 发行版对于 Oracle 12c,所以如果我希望我的生产和开发系统匹配,我会不愿意将其用作生产系统,甚至开发系统。