Installing ODBC Drivers

Server and client.installations include ODBC drivers. Platform-specific drivers are available from the SAP Sybase Product Download Center and SAP Service Marketplace.

Application Linking

If you use an ODBC application that uses libodbc.so (libodbc.so.1) or libodbcinst.so (libodbcinst.so.1), you can create symbolic links to that point to $IQDIR16/lib64/libdbodbc12.so.1 for single-threaded or $IQDIR16/lib64/libdbodbc12_r.so.1 for multi-threaded applications.

If you are creating an ODBC application, you can link directly to libdbodbc12.so for non–threaded applications and libdbodbc12_r.so for threaded applications. References to ODBC functions are resolved at run-time.

32-bit and 64-bit Drivers

UNIX 64-bit applications, including many third-party tools, can use 64-bit ODBC drivers to connect to 64-bit SAP Sybase IQ servers. 32-bit applications can use 32-bit ODBC drivers to connect to 64-bit IQ servers. (32-bit applications cannot use 64-bit ODBC drivers to connect to 64-bit IQ servers.)

The SAP Sybase IQ Network Client CD supplied with all platforms contains an ODBC driver for connecting from Windows-based ODBC applications. To connect via ODBC from 32-bit UNIX client applications, download and install the 32-bit ODBC driver kit. Check the EBF/Update information for the appropriate driver.

Related concepts
ODBC Conformance
Using UNIX or Linux–Based Query Tools Through ODBC
Managing ODBC Data Sources
Command Line Connections to 32-bit Applications