My Oracle Support Banner

"genclntsh: Failed to link libclntsh.so.12.1" When Applying Patch 34374162(July 2022) (Doc ID 2907889.1)

Last updated on NOVEMBER 07, 2022

Applies to:

Business Intelligence Suite Enterprise Edition - Version 12.2.1.4.0 and later
Oracle Solaris on SPARC (64-bit)

Symptoms

 

Applying <Patch 34374162>(July 2022) failed with Error 'genclntsh: Failed to link libclntsh.so.12.1".

Tried the solution of <Document 2107853.1>, but the issue still happened.

spbat-apply-xxxx.log
------------------------
[10/13/2022 22:21:20] - [ERROR] - [opatchBinaryPatcher] : [157]- Opatch Napply has failed while Applying patches to obi Home
[10/13/2022 22:21:20] - [INFO] - [opatchBinaryPatcher] : [161]- Opatch Napply has failed while Applying patches to obi Home
[10/13/2022 22:21:20] - [INFO] - [opatchBinaryPatcher] : [163]- Napply Exit Status - 73
[10/13/2022 22:21:20] - [INFO] - [opatchBinaryPatcher] : [164]- Opatch Napply has failed.Check the Log <PATCH_LOCATION>/JUL2022CPU/OBIEE/OBI_SPB_12.2.1.4.220712/tools/spbat/generic/SPBAT/logs/.../binary-apply/obi-Napply-YYYY-MM-DD_HH-MM-SS.log for more information

obi-Napply-YYYY-MM-DD_HH-MM-SS.log
---------------------------------------------
Patching component oracle.bi.server, 12.2.1.4.0...
Applying interim patch '34374377' to OH '<ORACLE_HOME>'

Patching component oracle.wls.core.app.server, 12.2.1.3.0...
Make failed to invoke "/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=<ORACLE_HOME>"....'genclntsh: Failed to link libclntsh.so.12.1
make: Fatal error: Command failed for target 'client_sharedlib'
'Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk iadrci ORACLE_HOME=<ORACLE_HOME>"....'ld:fatal: library -lclntsh: not found
ld: fatal: library -lnnz12: not found
ld: fatal: library -lztkg12: not found
ld: fatal: library -lztkg12: not found
make: Fatal error: Command failed for target '<ORACLE_HOME>/rdbms/lib/adrci'
'Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk iorion ORACLE_HOME=<ORACLE_HOME>"....'ld: fatal: library -lclntsh: not found
ld: fatal: library -lnnz12: not found
make: Fatal error: Command failed for target <ORACLE_HOME>/rdbms/lib/orion'
'Make failed to invoke "/usr/ccs/bin/make -f ins_sqlplus.mk genplusso ORACLE_HOME=<ORACLE_HOME>"....'+ PATH=/bin:/usr/bin:/usr/ccs/bin

+ export PATH
+ lib=<ORACLE_HOME>/sqlplus/lib/libsqlplus.so
+ makefile=<ORACLE_HOME>/sqlplus/lib/ins_sqlplus.mk
+ so_ext=so
+ target=dlopenlib
+ basename <ORACLE_HOME>/sqlplus/lib/libsqlplus.so .so
+ libname=libsqlplus
+ dirname <ORACLE_HOME>/sqlplus/lib/libsqlplus.so
+ sodir=<ORACLE_HOME>/sqlplus/lib
+ ardir=<ORACLE_HOME>/lib/
+ [ var '=' dlopenlib ]
+ suffix=LIBS
+ var=''
+ [ ! -f <ORACLE_HOME>/lib/libsqlplus.a ]
+ [ '' '!=' '' ]
+ make -f <ORACLE_HOME>/sqlplus/lib/ins_sqlplus.mk dlopenlib _FULL_LIBNAME=<ORACLE_HOME>/sqlplus/lib/libsqlplus.so _LIBNAME=libsqlplus _LIBDIR=<ORACLE_HOME>/lib/ _LIBNAME_LIBS='$(libsqlplusLIBS)' _LIBNAME_EXTRALIBS='$(libsqlplusEXTRALIBS)'
ld: fatal: library -lclntsh: not found
ld: fatal: library -lnnz12: not found
ld: fatal: library -lztkg12: not found
ld: fatal: library -lztkg12: not found
make: Fatal error: Command failed for target 'dlopenlib'
Current working directory <ORACLE_HOME>/sqlplus/lib
make: Fatal error: Command failed for target <ORACLE_HOME>/sqlplus/lib/libsqlplus.so

 

 

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
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.