Fw: Update on 2.01b and Solaris
Bob Cunningham
bob at cdsinc.com
Sun Jan 30 16:21:40 CET 2005
You shouldn't have to set LD_LIBRARY_PATH like that.
Did you try putting /usr/local/lib into the system runtime linking
environment with
"crle" first? In other words, something like this (Solais 8/9/10
only):
crle -c /var/ld/ld.config -l /usr/local/lib:/usr/lib
Also, did you specify /usr/local/lib as a runtime library (not just a
compile-time
library) when you compiled Nagios and the plugins?
Here is what I do ... although it may not be all that comparable with
what you're doing since we're no longer use sunfreeware. Instead,
we use the packages from blastwave (http://www.blastwave.org) ...
I use the CSWapache package for the web server (should probably be
CSWapache2
though).
CSWgcc3 for the gcc compiler (plus, of course, its dependencies which
are installed automatically when you use "pkg-get").
Nagios 2.01b apparently wants:
CSWcommmon
CSWpng
CSWjpg
CSWgd
In addition, the (beta) plugins want:
CSWopenssl
CSWnetsnmp
Before compiling anything of our own (and/or using anything we've
compiled on other systems), we do:
crle -c /var/ld/ld.config -l /opt/csw/lib:/usr/lib
And these are the environment variables I used when I compiled Nagios
and the
plugins:
CC=gcc
CPPFLAGS="-I/opt/csw/include"
LD_OPTIONS="-R/opt/csw/lib -L/opt/csw/lib"
PATH=/opt/csw/bin:/opt/csw/gcc3/bin:/usr/ccs/bin:/usr/bin
On Jan 27, 2005, at 8:15 AM, Winkles, William (Bill) wrote:
> I had to have apache load the mod_env module in httpd.conf. Then add
> this directive to the httpd.conf file:
>
> <IfModule mod_env.c>
>
> SetEnv LD_LIBRARY_PATH /usr/local/lib/:/usr/lib
>
> </IfModule>
>
>
>
> Try that with your appropriate library paths and see if that fixes
> your status.cgi problem.
>
>
>
> For status map, I loaded the latest GD, Jpeg, and libpng packages from
> sunfreeware.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2908 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050130/2bb22a4b/attachment.bin>
More information about the Users
mailing list