My Oracle Support Banner

E-COB: Cobol linking error "ld: warning: libclntsh.so.10.1, needed" (Doc ID 2110336.1)

Last updated on SEPTEMBER 02, 2024

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.53 and later
Information in this document applies to any platform.

Symptoms

When attempting to link the Cobol's using psrun.mak post successful compilation, the following error is shown on the screen:

ERROR
-----------------------
ld: warning: libclntsh.so.10.1, needed by /proj/fafcpsp/fafcpsp/fs920/bin/libpsora64.so, not found (try using -rpath or -rpath-link)
/proj/fafcpsp/fafcpsp/fs920/bin/libpsora64.so: undefined reference to `OCIStmtExecute'
/proj/fafcpsp/fafcpsp/fs920/bin/libpsora64.so: undefined reference to `OCIStmtPrepare'
/proj/fafcpsp/fafcpsp/fs920/bin/libpsora64.so: undefined reference to `OCIInitialize'
/proj/fafcpsp/fafcpsp/fs920/bin/libpsora64.so: undefined reference to `OCITransCommit'


Replication Steps:
--------------------
The issue can be reproduced at will with the following steps:

1. Go to PSHOME/Setup
2. Run psrun.mak file


 

Changes

 

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.