Opened 9 years ago
Last modified 8 years ago
#14427 new defect
Oracle 12.1.0.2 Grid Installation fails to relink VB5 on Oracle Linux 6.7 guest,OSX host — at Initial Version
Reported by: | MPMDBA | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.0.0 |
Keywords: | oracle 12c linux osx perl segmentation libjavavm12.a | Cc: | |
Guest type: | Linux | Host type: | Mac OS X |
Description
When trying to install 12.1.0.2 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/12.1.0.2/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/12.1.0.2/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.