Failed to link liborasdkbase.so.10.2


While installing an RDBMS 10.2.0.1 x86_64 on a OEL5.5 server, i ran into the following error while following the package requirements found on Metalink.


INFO: /u00/oracle/product/10.2.0/db/bin/genorasdksh -base
INFO: $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
INFO: Generating BASE ORASDK library...
INFO: Creating /u00/oracle/product/10.2.0/db/lib/liborasdkbase.so.10.2
INFO: gcc:
INFO: /usr/lib64/libstdc++.so.5: No such file or directory
INFO:

INFO: /u00/oracle/product/10.2.0/db/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
INFO: make: *** [liborasdkbase] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl' of makefile '/u00/oracle/product/10.2.0/db/rdbms/lib/ins_rdbms.mk'. See '/u00/oracle/oraInventory/logs/installActions2010-06-15_05-06-39PM.log' for details.
Exception Severity: 1

Solution to this was to create a symbolic link like this :


[root@DBEM01 logs]# ls -ltr /usr/lib64/libstdc++.so.5
ls: /usr/lib64/libstdc++.so.5: No such file or directory


[root@DBEM01 logs]# ln -s /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.5


[root@DBEM01 logs]# ls -ltr /usr/lib64/libstdc++.so.5
lrwxrwxrwx 1 root root 25 Jun 15 17:21 /usr/lib64/libstdc++.so.5 -> /usr/lib64/libstdc++.so.6

After this i could continue by hitting the RETRY button on the GUI.

One thought on “Failed to link liborasdkbase.so.10.2

Comments are closed.