Applying Oracle Application Server Patch 3 on Linux x86_64

Posted by Dirk Nachbar on Friday, June 06, 2008
Since a short time the Oracle Application Server 10g Release 2 Patch 3 (10.1.2.3.0) is available.

If you try to apply the Patch on a Linux x86_64 system, you will run in linking errors. To avoid this errors, execute as root user following steps:

  1. cd /usr/bin
  2. mv /usr/bin/gcc /usr/bin/gcc.save
  3. mv /usr/bin/g++ /usr/bin/g++.save
  4. # create a new file under /usr/bin named: gcc with following content:
    /usr/bin/gcc.save -m32 $*
  5. # Dont forget to make it executable:
    chmod 755 gcc
  6. # Create a sym link for g++
    ln -s gcc g++
After this steps login as the oracle installation user, switch to linux32 bash and start the runInstaller

Now the Patch should be run without linking errors.

Don't forget to move back after the patch installation to your original gcc and g++