Yes, but make sure you download a thread-safe version of Easysoft ODBC-ODBC Bridge. The thread-safe distributions of ODBC-ODBC Bridge are identified by "-mt" in the distribution name.
Do not use this ODBC-ODBC Bridge distribution unless your application is known to be threaded and linked with Linux Threads.
When building your application, add the -pthread
switch to gcc
and do NOT use -lpthreads
. Make sure you use thread-safe/reentrant versions of the library functions (e.g. gethostbyname_r
etc.) and define _REENTRANT
by adding -D_REENTRANT
to your compile lines.