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