Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Hi!
I have a nagios instance on a virtualized SME Server 7.5.1
I’m very much interested in evolving my nagios server into one with an NDOUtils Mysql DB.
So I googled and came across this guide for doing it on CentOS: [link]http://www.nagioswiki.com/wiki/index.php/NDOutils_on_CentOS[/link]
I successfully installed mysql-devel and mysql-server packages.
Problem came when I ran the ./configure on the NDOUtils, which retrieved: [code] *** 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]
So, I followed the advice and ran ./configure –with-mysql=/usr/lib/mysql.
The same message came on screen indicating «MySQL library could not be located».
Any sugestions?
Thank you.