"genclntsh: Could not locate $ORACLE_HOME/network/admin/shrept.lst" (Doc ID 340978.1)

Last updated on FEBRUARY 07, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 12.1.0.1 [Release 9.2 to 12.1]
Oracle Database - Standard Edition - Version 9.2.0.1 to 12.1.0.1 [Release 9.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 24-SEP-2015***

Symptoms

Installation of an Oracle9i, Oracle10g or Oracle11g patchset or applying a one-off patch may fail with the following error during linking:

e.g

/usr/ccs/bin/make -f ins_net_client.mk mkldflags client_sharedlib install
ORACLE_HOME=/u01/app/oracle/product/9.2.0 /u01/app/oracle/product/9.2.0/bin/genclntsh
genclntsh: Could not locate /u01/app/oracle/product/9.2.0/network/admin/shrept.lst genclntsh: exiting ...
make: Fatal error:

or

INFO: genclntsh: genclntsh: Could not locate /app/oracle/product/10.2.0/network/admin/shrept.lst INFO: *** Error exit code  1

INFO: ld: Can't find library or mismatched ABI for -lclntsh
Fatal error.

INFO: ld: I/O error, file "/app/oracle/product/10.2.0/lib/libclntsh.so": 
Invalid argument
Fatal error.

Changes

Installing an Oracle9i, Oracle10g or Oracle11g patchset

Applying one-off patch

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms