As of version 12.5, Open Client and Open Server use POSIX threads. When you use threaded libraries (*_r), link with the pthreads library.
See the Open Client and Open Server Programmer’s Supplement for UNIX for information on Open Client/C libraries.
DB-Library does not support any type of thread
interface.
As of this release, the thread-safe version of Open Client/C libraries are written using POSIX threads. All multithreaded libraries use the naming pattern *_r.a for static libraries or *_r.so for shared libraries. For multithreaded applications, use libraries with the “_r” suffix, such as libcs_r.a. For non-multithreaded applications, use libraries without the “_r” suffix, such as libcs.a.