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.