Ambiente:
VirtualBox 5.0.10
Oracle Linux 6.5 - 64 bits
Oracle Database 12.1.0.2 - 64bits
Erro ao compilar os binários:
Error in invoking target 'irman ioracle' of makefile '/u01/app/grid/product/12.1.0/grid/rdbms/lib/ins_rdbms.mk'.
Log:
INFO: /usr/bin/ld: cannot find -ljavavm12
collect2: ld returned 1 exit status
Solução:
cp /u01/app/12.1.0/grid/javavm/jdk/jdk7/lib/libjavavm12.a /u01/app/12.1.0/grid/lib
Erro ao rodar o root.sh:
/u01/app/12.1.0/grid/crs/config/rootconfig.sh: line 131: 7866 Segmentation fault (core dumped) $ROOTSCRIPT $ROOTSCRIPT_ARGS
The command '/u01/app/12.1.0/grid/perl/bin/perl -I/u01/app/12.1.0/grid/perl/lib -I/u01/app/12.1.0/grid/crs/install /u01/app/12.1.0/grid/crs/install/roothas.pl ' execution failed
Solução:
Faça uma cópia do diretório PERL no $GRID_HOME
cd /u01/app/12.1.0/grid
cp perl/ perl.old -R
cd /tmp
curl -O http://www.cpan.org/src/5.0/perl-5.14.4.tar.gz
tar -xvzf perl-5.14.4.tar.gz
cd perl-5.14.4
export ORACLE_HOME=/u01/app/12.1.0/grid
./Configure -des -Dprefix=$ORACLE_HOME/perl -Doptimize=-O3 -Dusethreads -Duseithreads -Duserelocatableinc && make clean && make && make install
cd /u01/app/12.1.0/grid/perl
rm -rf lib/ man/
cp -r ../perl.old/lib/ .
cp -r ../perl.old/man/ .
Abraço
Alex Zaballa
sexta-feira, 27 de novembro de 2015
Erro ao instalar Oracle Database 12c no Oracle Linux 6.5 com VirtualBox 5.10 - /usr/bin/ld: cannot find -ljavavm12
00:30
No comments
0 comentários:
Postar um comentário