HOWTO: Install Oracle 12c on Debian Wheezy

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…

About Gaius

Jus' a good ol' boy, never meanin' no harm
This entry was posted in Linux, Oracle and tagged . Bookmark the permalink.

9 Responses to HOWTO: Install Oracle 12c on Debian Wheezy

  1. Pingback: August | So I decided to take my work back underground

  2. ANTIDB says:

    What’s the specific modification of env_rdbms.mk?

  3. Pingback: Oracle 12c Launch Event (1) | So I decided to take my work back underground

  4. Alberto says:

    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.

    • Gaius says:

      I’m sorry, I cannot reproduce this.

    • PeterT says:

      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.

  5. DanielBe says:

    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

  6. JCCP says:

    PETER its -lnnz11 not -lnnz12

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s