Erro ao invocar o destino 'all_no_orcl' do makefile '/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk'

1

ERRO ao instalar o oracle 12c no ubuntu 14 LTS. Preso a 59%.

Erro:

  

Erro ao invocar o destino 'all_no_orcl' do makefile   '/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk'. Vejo   '/u01/app/oraInventory/logs/installActions2015-10-10_09-31-56PM.log'   para detalhes.

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
    
por Sameer Pradhan 10.10.2015 / 20:33

1 resposta

2

O erro que o make está obtendo parece ser:

/usr/bin/ld: cannot find -laio

Portanto, a sua instalação do Ubuntu provavelmente está faltando libaio , que é usada para suporte de E / S assíncrona no kernel.

Acho que você pode instalar isso executando:

sudo apt-get install libaio1

Alguém colocou um guia para instalar o Oracle 12c no Ubuntu 15.04 em esta resposta . Isso (particularmente a lista de pacotes para instalar antes do Oracle) pode ajudá-lo a executá-lo no Ubuntu 14.04.

O Ubuntu não está na lista de distribuições Linux suportadas para o Oracle 12c, portanto Eu estaria relutante em usar isso como um sistema de produção, ou até mesmo um sistema de desenvolvimento, se quisesse que meus sistemas de produção e desenvolvimento fossem compatíveis.

    
por James L 11.10.2015 / 09:05