Compiling nagios-plugins-1.4.9 for Solaris 10

Tony O'Shea T.OShea at cbs.curtin.edu.au
Thu Sep 27 03:11:04 CEST 2007


Hi all,

I hope that you can help me, I am having problems compiling
nagios-plugins-1.4.9 for Solaris 10, below is the PATH & LD_LIBRARY_PATH
setup. 

>>
LD_LIBRARY_PATH=/usr/share/lib:usr/share/webconsole/lib:/usr/ccs/lib:/us
r/lib:/usr/openwin/lib:/usr/sadm/lib:/usr/xpg4/lib:/usr/sfw/lib:/usr/dt/
lib:/usr/X11/lib:/usr/j2se/lib:/usr/snadm/lib:/usr/local/lib:/var/lib:/e
tc/lib:/opt/xampp/lib:/usr/local/ssl/lib

PATH=:/opt/xampp/bin:/usr/sbin:/usr/openwin/bin:/usr/bin:/usr/local/bin:
/usr/local/sbin:/usr/ccs/bin:/usr/ccs/lib:/usr/ucb:/etc:/usr/local/lib/g
cc:/usr/sfw/bin:/opt/sfw/bin:/usr/local/nagios/bin:/usr/local/nagios/sbi
n:/usr/local/nagios/libexec
<<

I am using the following options only when running configure:

./configure --prefix=/usr/local/nagios/lib --with-cgiurl=/nagios/cgi-bin

This is the output I get when I run make:

In file included from check_http.c:46:
common.h:191: warning: static declaration of 'floorf' follows non-static
declaration
/bin/bash ../libtool --tag=CC --mode=link gcc     -L.
-L/usr/local/ssl/lib -o check_http  check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lsocket -lresolv
-lssl -lcrypto -lnsl -lsocket
gcc -o check_http check_http.o sslutils.o netutils.o utils.o
-L/stage/build/nagios-plugins-1.4.9/plugins -L/usr/local/ssl/lib
../lib/libnagiosplug.a ../gl/libgnu.a -lresolv -lssl -lcrypto -lnsl
-lsocket
Undefined                       first referenced
 symbol                             in file
OpenSSL_add_all_algorithms          sslutils.o
ld: fatal: Symbol referencing errors. No output written to check_http
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `check_http'
Current working directory /stage/build/nagios-plugins-1.4.9/plugins
*** Error code 1
The following command caused the error:
failcom='exit 1'; \

Thank you for your help.

Regards,

Tony.



-------------------------------------------------------------------------
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 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