I can confirm that the previous post basically works too for the installation of Oracle 12c on 64-bit Debian 7.1/Wheezy, with the following modifications. Using lib64
for the library symlinks:
# mkdir /usr/lib64 # ln -s /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/ # ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/ # ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib # ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib64/
And the following changes to $ORACLE_HOME/rdbms/lib/env_rdbms.mk
$(LLIBCORE) $(LLIBUNLSRTL) $(LLIBSNLSRTL) $(LLIBNLSRTL) $(LLIBCORE) -lons \
$(LLIBTHREAD) $(LLIBCLNTSH) -lnnz12 $(LINKLDLIBS)
The bug requiring the unsetting of JAVA_JIT_ENABLED
seems to have been fixed. A 1G VM/512M SGA appears to be too small – 2G/1G is just about sufficient.
Excellent…
Pingback: August | So I decided to take my work back underground
What’s the specific modification of env_rdbms.mk?
I’m replacing those lines with the ones above, e.g. line 523.
Pingback: Oracle 12c Launch Event (1) | So I decided to take my work back underground
I’m installing the version of oracle (12c) on the same version of Debian (7.1) but your tips do not work. In particular I still have error on “ons” library, compiling utilities:
Error in invoking target ‘utilities’ of makefile ‘/data/oracle/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk’.
Using retry I got the same error, using continue I have an empty oracle executable.
I wonder if you can help.
I’m sorry, I cannot reproduce this.
I had the same problem. After investigate the log (installActions), I’ve found linking error in dg4pw utility. The solution was modify the env_rdbms.mk in the row 3042:
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS)
to
$(LLIBTHREAD) $(LLIBCLNTSH) -lnnz12 $(LINKLDLIBS)
If other utility fails, I suppose find the _LINKLINE entry, and try the same thing.
I had no error with -lons as mentioned in this HOWTO.
The ins_rdbms.mk error is just due to a small typo in the initial links…
# ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib
should be
# ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64
PETER its -lnnz11 not -lnnz12