i have installed cacti-0.8.7b, but when i try to install cacti-spine-0.8.7a, error is below.
Code: Select all
checking for mysql_init in -lmysqlclient_r... no
configure: error: MySQL libraries not found
HOW can i fix the make error?
Code: Select all
./configure --prefix=/usr/local/mysql --enable-thread-safe-client
...
...
OK
make
...
...
checking for mysql_init in -lmysqlclient_r... no
configure: error: MySQL libraries not found
==============================================
TheWitness wrote:YoMark,YoMarK wrote:I get the "MySQL libraries not found" error when ./configure-ing spine(In windows 2003/cygwin).I've compiled en installed MySQL client as mentioned here: http://www.cacti.net/spine_install_wincyg.phpCode: Select all
checking for mysql_init in -lmysqlclient_r... no configure: error: MySQL libraries not found
It is also working, and can connect to the mysql server without problems:Libraries MySQL(don't know if that are the correct files though):Code: Select all
administrator@srvman /src/cacti-spine-0.8.7 $ mysql --version mysql Ver 14.12 Distrib 5.0.41, for pc-cygwin (i686) using EditLine wrapper
I've even tried to specify the MySQL library path and binary(same problem):Code: Select all
administrator@srvman /usr/local/lib/mysql $ ls libmysqlclient.a libmysqlclient.la libmystrings.a libmysys.a administrator@srvman /usr/local/lib/mysql $
Any ideas?Code: Select all
./configure --with-mysql=/usr/local/bin/mysql --with-mysql-lib=/usr/local/lib/mysql/
Thanks!
You must use the thread safe version of MySQL client. It would appear that you do not have it installed. What is your OSNAME and OSVERSION? Did you install MySQL from Source? If so, you must use other config options to enable thread safe client.
TheWitness