[arch-general] Issues when updating mysql-connector-c++

Damjan Georgievski gdamjan at gmail.com
Thu Sep 18 00:15:59 EDT 2014

On 18 September 2014 05:49, Marcel Korpel <marcel.lists at gmail.com> wrote:
> Hi,
> Since mysql-connector-c++ 1.1.4 has been available for a few months I
> am trying to create a PKGBUILD for this version. The first problem I
> encountered was the MYSQL_LIB variable set to NOTFOUND by default. I
> circumvented this issue by hardcoding
> -DMYSQL_LIB=/usr/lib/libmysqlclient.so in my PKGBUILD [1]. However, I
> don't think this is the right solution. Does anyone know how to obtain
> the location of this library and pass it to cmake correctly?

/usr/bin/mysql_config --libs

you might also need
/usr/bin/mysql_config --include


More information about the arch-general mailing list