Home | Previous Page | Next Page   Overview of IBM Informix ODBC Driver > Using IBM Informix ODBC Driver >

Libraries

UNIX Only

The installation procedure installs the following libraries into INFORMIXDIR/lib/cli. In each data source specification section in the odbc.ini file, set the driver value indicating the full path to one of the following library filenames.

Filename
Description
libifcli.a or libcli.a
Static version for single (nonthreaded) library
libifcli.so or iclis09b.so
Shared version for single (nonthreaded) library
libthcli.a
Static version for multithreaded library
libthcli.so or iclit09b.so
Shared version for multithreaded library
libifdrm.so or idmrs09a.so
Shared library for DMR (thread safe)

For more information about the odbc.ini file, see The odbc.ini File.

If you do not use a driver manager, your application needs to link to either the static or the shared version of the IBM Informix ODBC Driver libraries.

The following compile command links an application to the thread-safe version of the IBM Informix ODBC Driver libraries:

cc ... -L$INFORMIXDIR/lib/cli -lifdmr - lthcli 
End of UNIX Only
Windows Only

The installation procedure installs the following libraries into INFORMIXDIR\lib.

Filename
Description
iclit09b.lib
Enables linking directly to the driver without the use of a driver manager
iregt07b.lib
Allows linking directly to iregt07b.dll
End of Windows Only

The following compile command links an application to the thread-safe version of the IBM Informix ODBC Driver libraries:

cl ... -L$INFORMIXDIR/lib/cli iclit09b.lib 

If you use a driver manager, you must link your application to the driver manager library only, as the following example shows:

cl odbc32.lib 

IBM Informix ODBC Driver requires a Version 3.0 driver manager.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]