Symbols in shared object files

Undefined symbols in a shared object file are resolved in the database server when the file is loaded. If a symbol is missing, the load fails on the first execution of the user-defined routine, and a message is written in the server log file.

You cannot resolve undefined symbols in a shared object file by using definitions in another shared object file.

A symbol defined in a shared object file on the database server 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.
  • If the shared object file includes more than one source file and there is a cross-file symbol reference, the symbol is resolved in the database server. These symbols are listed as unresolved when you link the shared object file.
Important: Although most of the unresolved symbols listed when you link the DataBlade® module shared object file are resolved when the database server loads the shared object, check for mistyped symbols; these symbols are not resolved.