Oracle 5.0 Reference Manual page 1769

Table of Contents

Advertisement

--enable-thread-safe
and can be disabled (default) using
--disable-thread-safe
This option enables the building of the driver thread-safe library
linking with MySQL thread-safe client library libmysqlclient_r.so. (The extensions are OS-
dependent.)
If the compilation with the thread-safe option fails, it may be because the correct thread-libraries on
the system could not be located. Set the value of
system.
LIBS="-lpthread" ./configure ..
• You can enable or disable the shared and static versions of Connector/ODBC using these options:
--enable-shared[=yes|no]
--disable-shared
--enable-static[=yes|no]
--disable-static
• By default, all the binary distributions are built as non-debug versions (configured with
debug).
To enable debugging information, build the driver from a source distribution with the proper
configuration option to enable debugging support. See
Options".
• This option is available only for source trees that have been obtained from the Subversion repository.
This option does not apply to the packaged source distributions.
By default, the driver is built with the
to be built, then execute
--with-docs
Build Steps for Unix
To build the driver libraries, execute make:
shell>
make
If any errors occur, correct them and continue the build process. If you are not able to build, then send
a detailed email to
Building Shared Libraries
On most platforms, MySQL does not build or support
based on our experience of problems when building shared libraries.
In cases like this, you have to download the MySQL distribution and configure it with these options:
--without-server --enable-shared
To build shared driver libraries, specify the
configure
If you have configured with the
libraries using the following commands:
shell>
cd mysql-connector-odbc-3.51.01
shell>
make
shell>
cd driver
Connector/ODBC Installation
configure
<myodbc@lists.mysql.com>
does not enable this option.
--disable-shared
to point to the correct thread library for your
LIBS
Section 2.17.3, "MySQL Source-Configuration
option. If you would like the documentation
--without-docs
with:
for further assistance.
(shared) client libraries by default. This is
.so
--enable-shared
option, you can build the
1749
libmyodbc3_r.so
option for configure. By default,
file from the static
.so
from by
--without-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents