Building applications without using an ODBC Driver Manager

You cannot build your applications directly against the ASE ODBC Driver on Windows platforms––you need to build your applications against an ODBC Driver Manager.

You can build applications without using an ODBC Driver Manager on Linux. The ASE ODBC Driver is a shared dynamic library called libsybdrvodb.so. This file is usually located in the $SYBASE/DataAccess/ODBC/lib directory for Linux 32-bit, or the $SYBASE/DataAccess64/ODBC/lib directory for Linux 64-bit, where $SYBASE is the Sybase installation root directory.

StepsTo link an ODBC application with the ASE ODBC Driver on Linux

  1. Pass the -lsybdrvodb and -L<dir to ASE ODBC Driver> flags to the linker.

  2. When deploying your application, verify that the directory containing the ASE ODBC Driver shared library ($SYBASE/DataAccess/ODBC/lib or $SYBASE/DataAccess64/ODBC/lib, depending on your Linux platform) is included in the user’s library path (LD_LIBRARY_PATH on Linux).