Not a problem. Im more than happy to test anything you want. Just drop me a mail when you think this or anything else may need further testing and I'll take it for a spin
-----Original Message----- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: 13 September 2007 12:25 To: Welsh,T,Tom,XSL4A C Cc: [EMAIL PROTECTED]; 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Further problems with NDO Utils [EMAIL PROTECTED] wrote: > Hi Andreas, Ton > >> Hmm. I was curious to see if it would fix the problems when >> libmysqlclient.so.15 was *not* in the configured path. > > But to cut a long story short, it didn't work if I removed the entry > from ld.so.conf. I have no problems spending time trying to assist in > fixing this if you guys want to tell me what to try. Unfortunately not > being a programmer my gcc / make knowledge is minimal. > > So here's what I tried and what the output was. > > > 1. Edit ld.so.conf > > Remove the entry for /usr/local/mysql/lib/mysql > [ middle-steps cut out for brevity ] > 6. Run ldd on resultant ndo2db binary > > ldd src/ndo2db-2x > linux-gate.so.1 => (0xffffe000) > libnsl.so.1 => /lib/libnsl.so.1 (0x4001f000) > libmysqlclient.so.15 => not found > libz.so.1 => /lib/libz.so.1 (0x40034000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40045000) > libm.so.6 => /lib/tls/libm.so.6 (0x40076000) > libc.so.6 => /lib/tls/libc.so.6 (0x40099000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > Bummer, didn't pick up libmysqlclient.so.15 > Well, it's good to know anyways. Now the altinity patch has had some serious review and a minor flaw, which is probably trivial to fix, has been found in it. Once it's fixed it can be resubmitted to Ethan and this particular problem shouldn't bother users in the future. Again, thanks for testing this. It was most valuable :) > 7. OK try with some CPPFLAGS > > make CPPFLAGS=-I/usr/local/mysql/include > The CPPFLAGS variable only works for altering preprocessor options, and only if they're honored by the Makefile while creating the various targets. When the binary is produced but has lost a path to one of the libraries it's linked to, it won't do any good. I'll see if I can amend the ndoutils Makefile with the few extra lines required to make it honor CPPFLAGS. Again, thanks. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@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