Skip to main content

Problem:

/usr/lib/cmplrs/cc/ld:

Can't locate file for: -lclntst8

Just upgraded from Oracle 8 to Oracle 9 and trying to compile program with embedded Oracle SQL

Resolution:

The system loader (ld) is looking for libclntst8.so in $ORACLE_HOME/lib. The client-side library has a different name for each major release of Oracle, i.e. libclntst8.*, libclntst9.*, libclntst10.*.

Update the cob command line accordingly for the Oracle client version in use.

Old KB# 7210