I have a nagios instance on a virtualized SME Server (distro based on CentOS)
I would like to evolve my nagios server into one with an NDOUtils Mysql DB.
So I googled and came across this guide for doing it on CentOS: http://www.nagioswiki.com/wiki/index.ph ... _on_CentOS
I successfully installed mysql-devel and mysql-server packages.
Problem came when I ran the ./configure on the NDOUtils, which retrieved:
Code: Select all
*** MySQL library could not be located... **************************
You chose to compile NDOutils with MySQL support, but I was unable to
locate the MySQL library on your system. If the library is
installed, use the --with-mysql-lib argument to specify the
location of the MySQL library.
installed, use the --with-mysql=DIR argument to specify the
location of the MySQL library, We assume mysql_config is in DIR/dir
NOTE: After you install the necessary libraries on your system:
1. Make sure /etc/ld.so.conf has an entry for the directory in
which the MySQL libraries are installed.
2. Run 'ldconfig' to update the run-time linker options.
3. Run 'make devclean' in the NDBXT distribution to clean out
any old references to your previous compile.
4. Rerun the configure script.
TIP: Try the following....
./configure --with-mysql=/usr/lib/mysql
********************************************************************
Code: Select all
./configure --with-mysql=/usr/lib/mysql
The same message came on screen indicating no libraries found.
Any sugestions?
Thank you.