MySQL Problems?

jez_uk1 ext-nagios at jezzer.co.uk
Tue Jun 3 12:33:43 CEST 2003


Hi chaps,

I'm trying to build nagios 1.1 with MySQL 4 however, i'm receiving the following messages during the build process (only a fraction has been shown):

-------------------------------
/tmp/ccZNtyvP.o: In function `xrddb_initialize':
/usr/src/nagios-1.1/base/../xdata/xrddb.c:215: undefined reference to `mysql_init'
/tmp/ccZNtyvP.o: In function `xrddb_connect':
/usr/src/nagios-1.1/base/../xdata/xrddb.c:252: undefined reference to `mysql_real_connect'
/usr/src/nagios-1.1/base/../xdata/xrddb.c:254: undefined reference to `mysql_close'
/tmp/ccZNtyvP.o: In function `xrddb_disconnect':
/usr/src/nagios-1.1/base/../xdata/xrddb.c:299: undefined reference to `mysql_close'
/tmp/ccZNtyvP.o: In function `xrddb_query':
/usr/src/nagios-1.1/base/../xdata/xrddb.c:329: undefined reference to `mysql_query'
...
...
...
-------------------------------

During the configure process:

checking for main in -lmysqlclient... yes
MySQL library was found!

Does Nagios not support MySQL 4 headers, or am I doing something very silly?

Thanks,

Jeremy


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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