NDOUtils MYSQL connection error
The error is because NDOUtils was not getting the required MYSQL libraries.
This is how I solved it in a 64 Bit Ubuntu 12 system.
The requisite MySQL client libraries can be installed by running:
apt-get install libmysqlclient15-dev
--> This installs the required 64bit MySQL libraries for client.
Then rerun the configuration file for building NDOUtils
In 64-Bit Ubuntu Linux System run it as:
./configure --prefix=$NAGIOS_HOME --enable-mysql --with-mysql-lib=/lib/x86_64-linux-gnu/
--> If nagios home directory is /usr/local/nagios, then set NAGIOS_HOME to it, or set it as per your environment.
--> In Ubuntu linux MySQL version 5.5.24, has the requisite libraries located at /lib/x86_64-linux-gnu
or else find out where it is in your system by running :
ldconfig -v | grep mysql
Then rebuild NDOUtils my rerunning make