Re: Issues when updating mysql-connector-c++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 18 September 2014 05:49, Marcel Korpel <marcel.lists@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux