(mysql.info.gz) libmysqld compiling
Info Catalog
(mysql.info.gz) libmysqld overview
(mysql.info.gz) libmysqld
(mysql.info.gz) libmysqld restrictions
22.2.16.2 Compiling Programs with `libmysqld'
.............................................
To get a `libmysqld' library you should configure MySQL with the
`--with-embedded-server' option.
When you link your program with `libmysqld', you must also include the
system-specific `pthread' libraries and some libraries that the MySQL
server uses. You can get the full list of libraries by executing
`mysql_config --libmysqld-libs'.
The correct flags for compiling and linking a threaded program must be
used, even if you do not directly call any thread functions in your
code.
Info Catalog
(mysql.info.gz) libmysqld overview
(mysql.info.gz) libmysqld
(mysql.info.gz) libmysqld restrictions
automatically generated byinfo2html