26.1.7.3. Thread-Safe Client
To link the driver with MySQL thread safe client libraries
libmysqlclient_r.so
or
libmysqlclient_r.a
, you must specify the
following configure option:
--enable-thread-safe
and can be disabled(default) using
--disable-thread-safe
This option enables the building of driver thread-safe library
libmyodbc3_r.so
from by linking with mysql
thread-safe client library
libmysqlclient_r.so
(The extensions are OS
dependent).
In case while configuring with thread-safe option, and gotten
into a configure error, look at the
config.log
and determine whether the error
is due to the lack of thread-libraries in the system; and supply
one with LIBS options i.e.
LIBS="-lpthread" ./configure ..