My Oracle Support Banner

Client Shared Library does not get generated and no errors displayed, or relink error that libclntsh does not exist (Doc ID 460078.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version 9.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Jul-2011***
***Checked for relevance on 26-DEC-2012***

Symptoms

You are in the process of relinking, either manually, or automatically as part of a new install or while applying a patch or patchset. 

The relink process is attempting to build a new client shared library.

If you were only running "genclntsh" or "make -f ins_rdbms.mk client_sharedlib", you notice that genclntsh runs, but does not create the client shared library (libclntsh) AND does not display an error. 

If you already have the libclntsh libraries, you may find that the date/time stamp for the libraries does not get updated when you try to re-generate them (genclntsh).

If other relinks are done which expect to find the missing client shared library, you may notice relink errors similar to the following (depending on OS platform and Oracle version):

ld: fatal: library -lclntsh: not found
...or...
/usr/ccs/bin/ld: Can't find library: "clntsh"
...or...
/usr/bin/ld: cannot find -lclntsh
...or...
ld: fatal: file libclntsh.so: open failed: No such file or directory

 

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.