The ifx_getversion utility (UNIX)
To obtain the complete version name of the HCL Informix® library, use the ifx_getversion utility.
Before you run ifx_getversion, set the INFORMIXDIR environment variable to the directory in which your HCL Informix product is installed.
The ifx_getversion utility has the following syntax.
>>-ifx_getversion--+-libgen.xx--+------------------------------>< +-libthgen.x-+ +-libos.xx---+ +-libthos.x--+ +-libsql.xx--+ +-libthsql.x-+ +-libgls.xx--+ '-libasf.xx--'
Element | Purpose | Key considerations |
---|---|---|
xx | For static libraries, xx specifies the .a file extension; for shared libraries, xx specifies the platform-specific file extension. | For shared libraries, the Sun platform uses the .so file extension and the Hewlett-Packard (HP) platform uses the .sl file extension. |
The following example shows an example of output that
the ifx_getversion utility generates for the libgen Informix library:
IBM/Informix-Client SDK Version 3.00.UN191
IBM/Informix LIBGEN LIBRARY Version 3.00.UN191
Copyright (C) 1991-2007 IBM
Output of ifx_getversion depends on the version of Informix ESQL/C software that is installed on your system.