makefile '/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk'의 'all_no_orcl' 대상을 호출하는 중 오류가 발생했습니다.

makefile '/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk'의 'all_no_orcl' 대상을 호출하는 중 오류가 발생했습니다.

우분투 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'를 참조하세요.

installActions2015-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

libaio따라서 커널에서 비동기 I/O 지원에 사용되는 Ubuntu 설치가 누락되었을 수 있습니다 .

다음을 실행하여 설치할 수 있다고 생각합니다.

sudo apt-get install libaio1

다른 사람이 Ubuntu 15.04에 Oracle 12c를 설치하기 위한 가이드를 함께 작성했습니다.이 답변. 이는(특히 Oracle 이전에 설치할 패키지 목록) Ubuntu 14.04에서 실행하는 데 도움이 될 수 있습니다.

우분투는 목록에 없습니다지원되는 Linux 배포판Oracle 12c의 경우에는 이를 프로덕션 시스템으로 사용하기를 꺼릴 것이며, 프로덕션 시스템과 개발 시스템을 일치시키려면 개발 시스템으로도 사용하기를 꺼릴 것입니다.

관련 정보