Oracle Fusion Middleware 11.1.1 Forms & Reports Linking Error

Posted by Dirk Nachbar on Friday, July 17, 2009
As I am playing now with the new Release of the Oracle Fusion Middleware 11g Forms & Reports I run in a linking error during the installation.
My environment is as follows:
  • Oracle Enterprise Linux 5 x86-64
  • All required packages according to the installation guide in 32bit and 64bit installed
  • ulimts correct set (4096) and not as wrongly stated in the documentation with 2048 :-)
I start the installation within a linux32 bash as the Fusion Middleware 11g Forms & Reports is only available for 32bit and 64bit Operating Systems are certified according to the documentation.
After some minutes clicking through some screen and waiting for copy the linking process start and throws an error:
  • Error in invoking target 'client_sharedlib' of makefile '/u00/app/oracle/product/wls-10.3.1/asfr11g/rdbms/lib/ins_rdbms.mk'.
Nice :-)

Here my solution, log on as root user and execute following commands:

mv /usr/bin/gcc /usr/bin/gcc.save
mv /usr/bin/g++ /usr/bin/g++.save



Create with vi a new file with the name gcc under the directory /usr/bin with following content:

/usr/bin/gcc.save -m32 $*



Make the new create file gcc executable:

chmod 755 /usr/bin/gcc



Create a sym-link:

ln -s /usr/bin/gcc /usr/bin/g++


After this restart the whole installation process and be happy :-)