Contents Index Linking ODBC applications on UNIX ODBC samples

ASA Programming Guide
  ODBC Programming
    Building ODBC applications
      Linking ODBC applications on UNIX

Using an ODBC Driver Manager on UNIX

Third-party ODBC Driver Managers for UNIX are available. An ODBC Driver Manager includes the following files:

Operating system Files
Solaris/Sparc libodbc.so (libodbc.so.1)

libodbcinst.so (libodbcinst.so.1)

If your are deploying an application that requires an ODBC Driver Manager and you are not using a third-party Driver Manager, create symbolic links for both the libodbc and libodbcinst shared libraries to the Adaptive Server Anywhere ODBC driver.

If an ODBC Driver Manager is present, Adaptive Server Anywhere queries the Driver Manager rather than ~/.odbc.ini for data source information.

Standard ODBC applications do not link directly against the ODBC driver. Instead, ODBC function calls go through the ODBC Driver Manager. On UNIX and Windows CE operating systems, Adaptive Server Anywhere does not include an ODBC Driver Manager. You can still create ODBC applications by linking directly against the Adaptive Server Anywhere ODBC driver, but you can then access only Adaptive Server Anywhere data sources.


Contents Index Linking ODBC applications on UNIX ODBC samples