Specify versions of HCL OneDB ESQL/C general libraries

By default, the esql command links the shared libraries for the HCL OneDB™ general libraries: libgen, libos, libgls, libafs, and libsql. To use shared libraries, your computer must support shared memory.

You can use the following command-line options to change which versions of the HCL OneDB general libraries the preprocessor links with your program:
  • The -thread option tells the preprocessor to link the thread-safe versions of the HCL OneDB shared libraries.
  • The -static option tells the preprocessor to link the static libraries for the HCL OneDB general libraries in a UNIX™ environment. If you use the -static option, you cannot set the IFX_LONGID environment variable. You must recompile with libos.a.

You can combine these options to tell the preprocessor to link in the thread-safe versions of the HCL OneDB static libraries.