Open Client™ uses POSIX threads. When you use threaded libraries (*_r), link with the pthreads library.
See the Open Client and Open Server Programmers Supplement for UNIX for information about Open Client libraries.
DB-Library™ does
not support any type of thread interface.