Installation of Oracle 11gR2 is failed with below error, on Oracle Linux 7 OS.
> INFO: Building Client Shared Libraries INFO: Building Client Shared
> Libraries INFO: The output of this make operation is also available
> at: '/u01/app/oracle/product/11.2.0.4/db_1/install/make.log' INFO:
>
> INFO: Start output from spawned process: INFO:
> ---------------------------------- INFO:
>
> INFO: /u01/app/oracle/product/11.2.0.4/db_1/bin/genclntsh
>
> INFO: /bin/ld: cannot find -lstdc++_nonshared
>
> INFO: collect2: error: ld returned 1 exit status
>
> INFO: genclntsh: Failed to link libclntsh.so.11.1
>
> INFO: make: *** [client_sharedlib] Error 1
>
> INFO: End output from spawned process. INFO:
> ---------------------------------- INFO: Exception thrown from action: make Exception Name: MakefileException Exception String: Error in
> invoking target 'client_sharedlib' of makefile
> '/u01/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ins_rdbms.mk'. See
> '/u01/app/oraInventory/logs/installActions2017-11-09_12-52-50AM.log'
> for details. Exception Severity: 1
Let me know that i need to try reinstall it or any work around can be done.
asked Nov 21, 2017 at 4:05
1 Answer 1
This is caused by the missing libstdc++
package.
Linking using g++ fails searching for -lstdc++
In your previous question, on your screenshot, you have multiple missing packages, including libstdc++
.
answered Nov 21, 2017 at 14:02
-
Note that you need both, 32 and 64 bit packagesjmk– jmk2017年11月21日 15:21:34 +00:00Commented Nov 21, 2017 at 15:21
-
@jmk No, you do not.
Starting with Oracle Database 11g Release 2 (11.2.0.2), all the 32-bit packages, except for gcc-32bit-4.3, listed in the following table are no longer required for installing a database on Linux x86-64. Only the 64-bit packages are required. However, for any Oracle Database 11g release before 11.2.0.2, both the 32-bit and 64-bit packages listed in the following table are required.
. The question is about 11.2.0.4.Balazs Papp– Balazs Papp2017年11月21日 15:52:57 +00:00Commented Nov 21, 2017 at 15:52
lang-sql
/u01/app/oraInventory/logs/installActions2017-11-09_12-52-50AM.log
show any hints? Most likely you are missing some dependencies. Did you install theoracle-rdbms-server-12cR1-preinstall
package? This package is available for 12cR2 and 11gR2, toocannot find -lstdc++_nonshared
" - have you investigated this?