Skip to main content

Problem:

The following error message is returned when compiling:

/opt/lib/cobol/bin/rts64_t: /sbin/loader: Fatal Error: Cannot map library libcobrts64_t.so.2

Resolution:

Make sure the environment variable LD_LIBRARY_PATH (or LIBPATH on AIX & SHLIB_PATH on HP-UX) is set correctly by pointing to the correct product and location.  It should be set to the $COBDIR/lib directory.

To check what the environment variables are set to, run the 'env' command or the 'mfsupport' command, which will generate a 'mfpoll' file in the same directory you run the command.  

Old KB# 4086