Import libraries

On Windows platforms, all import libraries are installed in the SDK\Lib subdirectories, under the SQL Anywhere installation directory. Windows import libraries are stored in the SDK\Lib\x86 and SDK\Lib\x64 subdirectories. Windows Mobile import libraries are installed in the SDK\Lib\CE\Arm.50 subdirectory. An export definition list is stored in SDK\Lib\Def\dblib.def.

On Unix platforms, all import libraries are installed in the lib32 and lib64 subdirectories, under the SQL Anywhere installation directory.

On Mac OS X platforms, all import libraries are installed in the System/lib32 and System/lib64 subdirectories, under the SQL Anywhere installation directory.

Operating system Compiler Import library
Windows Microsoft Visual C++ dblibtm.lib
Windows Mobile Microsoft Visual C++ 2005 dblib12.lib
Unix (unthreaded applications) All compilers libdblib12.so, libdbtasks12.so, libdblib12.sl, libdbtasks12.sl
Unix (threaded applications) All compilers libdblib12_r.so, libdbtasks12_r.so,libdblib12_r.sl, libdbtasks12_r.sl
Mac OS X (threaded applications) All compilers libdblib12.dylib, libdbtasks12.dylib
Mac OS X (threaded applications) All compilers libdblib12_r.dylib, libdbtasks12_r.dylib

The libdbtasks12 libraries are called by the libdblib12 libraries. Some compilers locate libdbtasks12 automatically. For others, you need to specify it explicitly.