Nagios compile errors with MySQL on 64-bit SLES9

Richard.Luys at vanderlet.nl Richard.Luys at vanderlet.nl
Mon Jul 11 11:09:09 CEST 2005


Hi all,

 

We got some new hardware for our Nagios-server and I'm busy installing
it. It's a 64-bit Intel architecture (EM64T) machine, installed with the
64-bit variant of SLES9.

 

When I try to compile nagios 1.2 with MySQL support, I initially got the
errors: mysql/mysql.h and mysql/errmsgs.h not found. I fixed those
thanks to the user-list archives.

 

But unfortunately, I now get these errors during make all:

 

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux
/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux
/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux
/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux
/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc

Followed by a lot of 'unreferenced' messages.

 

'incompatible': does that mean the 64-bit libraries are not compatible
and I should use 32-bit libraries instead? Or is it something else?
Anybody have a similar setup?

 

My ./configure options are as follows:

./configure  \

--prefix=/usr/local/nagios \

--with-nagios-user=nagios \

--with-nagios-grp=nagios \

--with-gd-lib=/usr/lib \

--with-gd-inc=/usr/include \

--with-mysql-xdata \

--with-mysql-lib=/usr/local/mysql/lib/ \

--with-mysql-inc=/usr/local/mysql/include/ \

--with-mysql-status \

--with-mysql-comments \

--with-mysql-extinfo \

--with-mysql-retention \

--with-mysql-downtime

 

The MySQL version used is: 4.0.24 64-bit. I've read on the user-list
that this would be a problem since they changed the API from version 3
to 4; but we are running MySQL 4 on the 'old' Nagios-server as well,
without problems ?!?!?!

 

Any suggestions are greatly appreciated!

 

Regards / Met vriendelijke groet,  
VANDERLET B.V.  

R. (Richard) Luys 
Systeem specialist 

VANDERLET SupportCentre
Tel: 030-609 09 97

Zoomstede 1
Postbus 1038
3430 BA  Nieuwegein
Tel: 030-600 00 33
Fax: 030-600 00 13 
E-mail: supportdesk at vanderlet.nl <mailto:SupportDesk at vanderlet.nl> 
Internet: http://www.vanderlet.nl <http://www.vanderlet.nl/>   

 


This e-mail message and its attachments are subject to the disclaimer published at the following website of VANDERLET: http://www.vanderlet.nl/disclaimer 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050711/c61dfc46/attachment.html>


More information about the Users mailing list