[Nagiosplug-help] compile problems with ndoutils
Sjaak Nabuurs
sjaaknabuurs at citytower.com
Fri Mar 16 23:11:44 CET 2007
Hello
I try to compile ndoutils i did it few times before.
I run ndoutils on 2 other machines work great.
Now I install ndoutils on a fedore5 machine installed mysql with
directadmin.
But now I get compile problems
checking for mysql_store_result in -lmysqlclient... no
All other checks are okay
mysql_server, mysql_client and mysql_devel are installed.
Compiled with ./configure --with-mysql-lib=/usr/lib/mysql
But no luck.
Copy all the ndoutils binairies from another FD5 server.
Nagios gives no errors and looks good.
But ndo2db fills only the conninfo and the instance tables whit the 1
record, that's looks good but nothing more happend.
Does anybody have any idea what could be the problem with mysql.
Thanks in advance.
Have a nice weekend.
Sjaak
checking for strstr... yes
checking for strtoul... yes
checking for initgroups... yes
checking for type of socket size... size_t
checking for linker flags for loadable modules... -shared
checking for mysql_store_result in -lmysqlclient... no
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
*** MySQL library could not be located... **************************
You chose to compile NDBXT 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.
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-lib=/usr/lib/mysql
********************************************************************
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for PQconnectdb in -lpq... no
More information about the Help
mailing list