The client application makes a call to one of the Sybase IQ interface libraries. In general, the location of this DLL or shared library is transparent to the user. Here we describe how the library is located, in case of problems.
For ODBC, the interface library is also called an ODBC driver. An ODBC client application calls the ODBC driver manager, and the driver manager locates Sybase IQ's driver.
The ODBC driver manager looks in the supplied data source in the odbc.ini file or registry to locate the driver. When you create a data source using the ODBC Administrator, Sybase IQ fills in the current location for your ODBC driver.
Embedded SQL applications call the interface library by name. The name of the Sybase IQ Embedded SQL interface library is as follows:
Windows: dblib9.dll
UNIX: libdblib9 with an operating system-specific extension.
The locations that are searched depend on the operating system:
On Windows, the client application looks for files in the current directory, in the system path, and in the Windows and Windows\system directories.
On UNIX, the client application looks for files in the system path and the user library path.
Once it locates the interface library, the client application passes a connection string to it. The interface library uses the connection string to assemble a list of connection parameters, which it uses to establish a connection to a server.