Link an ODBC application on UNIX using the -lsybdrvodb library
file.
- Pass the -lsybdrvodb and
-L<aseodbc_dir> flags to the linker.
- When deploying your application, verify that
$SYBASE/DataAccess/ODBC/lib (for 32-bit ODBC drivers) or
$SYBASE/DataAccess64/ODBC/lib (for 64-bit ODBC drivers), the
directory containing the Adaptive Server ODBC Driver shared library, is included in
your library path.
The library path variable for your platform is:
-
On HP HP-UX Itanium – SHLIB_PATH
-
On IBM AIX – LIBRARY_PATH
-
On Linux and Solaris – LD_LIBRARY_PATH