Build switches for mysql connector extension - Mac OSX

Lionel Elie Mamane lionel at
Fri Nov 22 06:04:52 PST 2013

On Fri, Nov 22, 2013 at 02:40:08PM +0100, Alex Thurgood wrote:
> On 21/11/2013 17:01, Lionel Elie Mamane wrote:

>> export MARIADBCONFIG=/path/to/mariadb_config_or_mysql_config
>> ./ --enable-ext-mariadb-connector --without-system-mysql-cppconn --with-system-mariadb

>> you can add --enable-bundle-mariadb if the libmysql/libmariadb is not

> gives a configure error :

> The libraries provided by MySQL for OSX 64 contain :
> libmysqlclient.18.dylib
> libmysqlclient_r.18.dylib (symbolic link to the preceding file)
> libmysqlclient_r.dylib (symbolic link to libmysqlclient.18.dylib)
> libmysqlclient.dylib (symbolic link to libmysqlclient.18.dylib)
> libmysqlclient.a
> libmysqlclient_r.a (symbolic link to the preceding file)

In what directory are they? What do the following commands say?

mysql_config --libs
mysql_config --libs_r
mysql_config --include
mysql_config --cflags
mysql_config --variable=pkglibdir


More information about the LibreOffice mailing list