[Nagiosplug-devel] Solaris problems
ton.voon at altinity.com
Thu Dec 7 18:34:38 CET 2006
I've been working on some Solaris problems for the plugins and I'm
stuck on two now. Any help anyone?
1. Linking to ssl libraries.
On Solaris, the predominate openssl installation is via the
SunFreeware version which is installed in /usr/local/ssl. When
compiling applications against this library, it is not sufficient to
set LDFLAG =-L/usr/local/ssl/lib, you have to also set -R/usr/local/
ssl/lib in order for the SSL plugins (check_http, check_smtp) to find
the openssl directories. I had made a patch for this in configure.in,
but Sean removed it, probably rightly (revision 1.191 at http://
However, this means that the plugins will not necessarily run after
being compiled. My current workaround is to set LD_RUN_PATH=/usr/
local/ssl/lib before compiling. Is there a better way?
To be fair, I've downloaded top, curl and wget and they all have the
same issue. The solution could just be a README.solaris.
2. pst3 not working on 64 bit systems
I have to admit ignorance here. On my Solaris 9 server, the plugins
compile in 32 bit mode. However, pst3 also compiles in 32 bit and
then there are errors because the /dev/ksyms holds 64 bit
information. What can be done? Should configure work out if the
system is 64 bit and compile just pst3 in 64 bit? Or should configure
fallback onto using ps?
At the moment, check_procs doesn't work from a straight compile on my
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel