My Oracle Support Banner

Installation / Patching of 11.2.0.4/12.1.0.2 throws warning libstdc++.so.5, needed by $ORACLE_HOME/ctx/lib//libsc_ca.so, not found (Doc ID 2174191.1)

Last updated on JULY 22, 2021

Applies to:

Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Linux x86-64

Symptoms

Installation  or patching of 12.1.0.2 on Oracle Linux 6 or Oracle Linux 7, fails with error:

10019 INFO: <ORACLE_HOME>/bin/orald -o ctxhx -m64 -z noexecstack -Wl,--disable-new-dtags -L <ORACLE_HOME>/ctx/lib/ -L <ORACLE_HOME>/lib/ -L <ORACLE_HOME>/lib/stubs/ <ORACLE_HOME>/ctx/lib/ctxhx.o -Wl,--unresolved-symbols=ignore-in-shared-libs -L <ORACLE_HOME>/ctx/lib/ -lm -lsc_ca -lsc_fa -ls c_ex -lsc_da -lsc_ut -lsc_ch -lsc_fi -lsc_fmt -lsc_ind -lwv_core -lsc_lo -lsc_fut -lsc
10020 INFO: _anno -lz -lctxhx -Wl,-L <ORACLE_HOME>/ctx/lib -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls 12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 'cat <ORACLE_HOME>/lib/sysliblist' 'cat <ORACLE_HOME>/lib/ldflags' -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnro12 'cat /u01/app/oracle/product/12102/dbhome_1/lib/ldflag s' -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnnz12 -lzt12 -lztkg12 -Wl,-rpath,'/u
10021 INFO: <ORACLE_HOME>/lib:<ORACLE_HOME>/ctx/lib'
10022
10023 INFO: /usr/bin/ld: warning: libstdc++.so.5, needed by <ORACLE_HOME>/ctx/lib//libsc_ca.so, not found (try using -rpath o r -rpath-link)
10024
10025 INFO: mv -f <ORACLE_HOME>/ctx/bin/ctxhx <ORACLE_HOME>/ctx/bin/ctxhxO
10026
10027 INFO: mv ctxhx <ORACLE_HOME>/ctx/bin/ctxhx
10028
10029 INFO: chmod 751 <ORACLE_HOME>/dbhome_1/ctx/bin/ctxhx

 

Installation or patching of 11.2.0.4 on SLES 12 ,fails with error:

INFO: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libstdc++.so.5, needed by <ORACLE_HOME>/ctx/lib//libsc_fa.so, not found (try using -rpath or -rpath-link)
<ORACLE_HOME>/ctx/lib/libwv_core.so: undefined reference to 'operator delete(void*)@GLIBCPP_3.2'
collect2: error: ld returned 1 exit status

INFO: make: *** [ctxhx] Error 1

INFO:<ORACLE_HOME>/ctx/lib/ins_ctx.mk:11: recipe for target 'ctxhx' failed

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '<ORACLE_HOME>/ctx/lib/ins_ctx.mk'. See '/u01/app/oraInventory/logs/installActions<timestamp>.log' for details.
Exception Severity: 1

 

Changes

 Installation or patching of 12.1.0.2 on Oracle Linux 6 or Oracle 7 or Installation or patching of 11.2.0.4 on SLES 12

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.