3.2. Setting Up a Compatibility Environment

Setting up a compatibility environment consists of installing libraries and setting up GCC.

3.2.1. Installing Libraries

The following compatibility libraries are required on your system to install Oracle Database 9.2:

  1. Check to see if the libraries are installed by running the rpm -q command as follows:

    # rpm -q compat-gcc compat-libstdc++ compat-libstdc++-devel compat-gcc-c++
  2. Install any missing libraries using up2date.

  3. Proceed to Section 3.2.2 Setting Up GCC.

3.2.2. Setting Up GCC

Installing Oracle Database 9.2 requires using GCC 2.96 rather the default GCC 3.2 that ships with Red Hat Enterprise Linux 3. Before installing Oracle, set GCC 2.9.6 as the default GCC as follows:

  1. Rename gcc to gcc32 and make gcc296 the default GCC:

    # which gcc
    /usr/bin/gcc
    # cd /usr/bin
    # mv gcc gcc32
    # ln -s gcc296 gcc
  2. Use the gcc --version command to verify that you are using GCC 2.9.6 (gcc296):

    # gcc --version

    The resultant output from the command indicates the GCC level as follows:

    gcc (GCC) 2.9.6  ...
  3. Proceed to Section 3.3 Preparing Oracle Nodes.