ndoutils

Dusan Simek pixelfields at gmail.com
Sat Sep 19 22:51:50 CEST 2009


Hi,
I have problem with compile ndoutils with mysql lib. Still I get error:

"MySQL library could not be located..."

I compile ndo utils with option ./configure --with-mysql=/usr/lib64/mysql

and try it also with --with-mysql-lib=/usr/lib64/mysql

The libraries for mysql are in this directory:

[root at dvas mysql]# ls
libdbug.a            libmysqlclient_r.so.15      libndbclient.a
libheap.a            libmysqlclient_r.so.15.0.0  libndbclient.so
libmyisam.a          libmysqlclient.so           libndbclient.so.2
libmyisammrg.a       libmysqlclient.so.15        libndbclient.so.2.0.0
libmysqlclient.a     libmysqlclient.so.15.0.0    libvio.a
libmysqlclient_r.a   libmystrings.a              mysqlbug
libmysqlclient_r.so  libmysys.a                  mysql_config

The last rows from config log is:

...
checking for socket in -lsocket... no
checking for main in -lwrap... yes
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for initgroups... yes
checking for strtof... yes
checking for type of socket size... size_t
checking for linker flags for loadable modules... -shared
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
...

Package mysql-devel is also instaled.

Configuration:

ndoutils 1.4b8
centos 5.3 x86_64
2.6.18-028stab064.4 kernel

Anybody can help me?

Thanks in advance.

-- 
Dusan Simek
http://www.pixelfields.net
pixelfields at gmail.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list