Oracle 220.127.116.11 Grid Installation fails to relink VB5 on Oracle Linux 6.7 guest,OSX host
|Reported by:||MPMDBA||Owned by:|
|Keywords:||oracle 12c linux osx perl segmentation libjavavm12.a||Cc:|
|Guest type:||Linux||Host type:||Mac OS X|
Description (last modified by )
When trying to install 18.104.22.168 Grid Infrastructure on Linux 6.7 guest on OS X (Yosemite) host using VirtualBox 5 the installer hangs at 59% (after passing all the Oracle pre-requisites) with the error
error invoking target irman ioracle of makefile /u01/app/gi/22.214.171.124/grid/rdbms/lib/ins_rdbms.mk” The logs provide further detail. INFO: /usr/bin/ld: cannot find -ljavavm12 collect2: ld returned 1 exit status INFO: make: *** [/u01/app/gi/126.96.36.199/grid/rdbms/lib/oracle] Error 1
It is possible to work around this by copying the libjavavm12.a library located in $ORACLE_HOME/javavm/jdk/jdk7/lib to $ORACLE_HOME/lib directory and retrying the install.
Once the workaround is applied, the installer continues but then the oracle root.sh script fails with a segmentation fault.
rootconfig.sh: line 131: 4562 Segmentation fault
A workaround can be applied by reinstalling the Perl binaries under the newly created ORACLE_HOME and the installation can continue.
Both errors and their work arounds are described here: http://laurent-leturgez.com/2015/05/26/oracle-12c-vmware-fusion-and-the-perl-binarys-segmentation-fault/#comment-7644
Note, this is not my blog but has been very helpful in providing the 2 workarounds for the issue I report here. It would be great if a permanent fix could be found is it seems this is something specific to Virtual Box 5 rather than an issue with the guest config.