13 Replies Latest reply: Nov 3, 2010 3:49 AM by Dude! RSS

    Installing Oracle 11g R2 on Ubuntu 10.04 (solved)

      NOTE: New revisited and verified installation instructions at the following link:

      Installing Oracle 11g R2 on Ubuntu 10 Howto


      I installed Oracle 11g R2 under Ubuntu 10.04, x86-64 bit. There was only one real problem:

      The Oracle Universal Installer fails with an error linking ctx/lib/ins_ctx.mk...

      As of Ubuntu 9.10, libstdc++ 5 has been replaced by version 6.

      Below is how to fix the problem:

      wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
      dpkg-deb -x libstdc++5_3.3.6-17ubuntu1_amd64.deb ia64-libs
      cp ia64-libs/usr/lib/libstdc++.so.5.0.7 /usr/lib64/
      cd /usr/lib64/
      ln -s libstdc++.so.5.0.7 libstdc++.so.5

      wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb
      dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs
      sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/
      cd /usr/lib32
      ln -s libstdc++.so.5.0.7 libstdc++.so.5


      The package names in Ubunto differ from RHEL and the OUI system check will report several missing. You can ignore them, but you will probably need to install some or all of the following packages first:

      sudo su -

      apt-get install build-essential
      apt-get install libaio1
      apt-get install libaio-dev
      apt-get install libmotif3
      apt-get install libtool
      apt-get install expat
      apt-get install alien
      apt-get install ksh
      apt-get install pdksh
      apt-get install unixODBC
      apt-get install unixODBC-dev
      apt-get install sysstat
      apt-get install elfutils
      apt-get install libelf-dev
      apt-get install binutils
      apt-get install lesstif2
      apt-get install lsb-cxx
      apt-get install lsb-rpm

      Btw, to make the arrow-keys work properly in 'vi':

      apt-get install vim-runtime
      apt-get install vim

      To make ssh work:

      apt-get install ssh
      passwd oracle

      In case someone else runs into the same issues......

      Edited by: Markus Waldorf on Aug 16, 2010 7:32 AM