Skip to main content

Problem:

When linking a application under Server Express which has been precompiled with the Sybase precompiler, cobpre, the following error was returned:

ld: fatal: libcobrts.a: open failed: No such file or directory

This did not occur with Object COBOL Developer Suite.

Resolution:

The makefile being used was written to work with Object COBOL Developer Suite (OCDS). Under Server Express, a number of the modules, including the COBOL run-time, have been repackaged.

Whereas under OCDS, the COBOL runtime was shipped as libcobrts.a, under Server Express, it is provided as a shared object.

After updating the makefile to remove the hardcoded reference to the archive, the application linked cleanly.

Old KB# 2144