[CentOS] Centos6: missing link for mysqlclient

John Doe jdmls at yahoo.com
Thu Sep 8 16:11:58 UTC 2011


From: Helmut Drodofsky <drodofsky at internet-xs.de>

>I am installing snort from source.
>Besides of a lot of additional libraries, I needed a link
>ln -vfs /usr/lib64/mysql/libmysqlclient.so.16 /usr/lib64/libmysqlclient.so
>Are there reasons not to install with yum install mysql-devel ?
>I have found many discussions to add this link in context of installing from source, nor only for snort.


Maybe you needed to tell configure where to find the libs...
$ ./configure --help | grep mysql
  --with-mysql=DIR               Support for MySQL
  --with-mysql-includes=DIR      MySQL include directory
  --with-mysql-libraries=DIR     MySQL library directory


JD




More information about the CentOS mailing list