Build switches for mysql connector extension - Mac OSX

Alex Thurgood alex.thurgood at gmail.com
Fri Nov 22 06:14:01 PST 2013


On 22/11/2013 15:04, Lionel Elie Mamane wrote:

I used export MARIADBCONFIG=/USers/SHared/Repos/LO/packages/

> 
> 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
> 

export
MARIADBCONFIG=/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/bin/mysql_config

ns1:core alex$
/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/bin/mysql_config

Usage:
/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/bin/mysql_config
[OPTIONS]
Options:
        --cflags
[-I/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/include]
        --cxxflags
[-I/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/include]
        --include
[-I/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/include]
        --libs
[-L/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/lib
-lmysqlclient]
        --libs_r
[-L/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/lib
-lmysqlclient_r]
        --plugindir      [/usr/local/mysql/lib/plugin]
        --socket         [/tmp/mysql.sock]
        --port           [0]
        --version        [6.1.2]
        --variable=VAR   VAR is one of:
                pkgincludedir
[/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/include]
                pkglibdir
[/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/lib]
                plugindir     [/usr/local/mysql/lib/plugin]
ns1:core alex$
/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/bin/mysql_config
--libs
-L/Users/Shared/Repos/LO/packages/mysql-connector-c-6.1.2-osx10.7-x86_64/lib
-lmysqlclient





More information about the LibreOffice mailing list