Symbols in shared-object files

The database server resolves undefined symbols in a shared-object file when it loads the shared-object file. If a symbol is missing, the load fails on the first execution of the UDR, and the database server writes a message in the log file. Symbols defined in two different shared-object files are distinct entities and do not resolve against each other.

A symbol defined in both a shared-object file and the HCL Informix® main module behaves in one of two ways:
  • If the symbol referenced in the shared-object file is in the same source file that references it, the debugger accesses the symbol in the shared object file, as expected.
  • If the shared-object file includes more than one source file and a cross-file symbol reference exists, the symbol is resolved to the main module of the database server.