Open Client™ uses 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 libraries.
DB-Library does
not support any type of thread interface.