18 Sep
2014
18 Sep
'14
4:15 a.m.
On 18 September 2014 05:49, Marcel Korpel <marcel.lists@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 -- damjan