[Nagiosplug-help] 1.4.5 compile problem

David Rooney rooneyd at gmail.com
Fri Feb 2 15:16:30 CET 2007


Hi,

Thanks for the response. I added the ssl option but its still complaining at
the same point.

/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2  -L.
-L/usr/local/ssl/lib -o check_dummy  check_dummy.o
utils.o../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket  -lssl
-lcrypto
gcc -g -O2 -o check_dummy check_dummy.o utils.o
-L/export/home/nagios/nagios-plugins-1.4.5/plugins -L/usr/local/ssl/lib
../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket -lssl -lcrypto
if gcc -DLOCALEDIR=\"/export/home/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl  -I/usr/include/pgsql
-I/usr/local/ssl/include  -I/usr/local/ssl/include  -g -O2 -MT check_http.o
-MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c; \
        then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f
".deps/check_http.Tpo"; exit 1; fi
In file included from check_http.c:46:
common.h:216: warning: static declaration of 'floorf' follows non-static
declaration
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2  -L.
-L/usr/local/ssl/lib -o check_http  check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a  -lnsl -lsocket
-lresolv -lsocket  -lssl -lcrypto
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
-L/export/home/nagios/nagios-plugins-1.4.5/plugins -L/usr/local/ssl/lib
../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -lsocket -lssl
-lcrypto
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
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/export/home/nagios/nagios-plugins-1.4.5
/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/nagios/nagios-plugins-1.4.5'
make: *** [all] Error 2


Thanks

On 2/2/07, Holger Weiss <holger at cis.fu-berlin.de> wrote:
>
> * David Rooney <rooneyd at gmail.com> [2007-02-02 09:31]:
> > gcc -o check_http check_http.o sslutils.o netutils.o utils.o
> > -L/export/home/nagios/nagios-plugins-1.4.5/plugins
> ../lib/libnagiosplug.a
> > ../lib/libcoreutils.a -lnsl -lsocket -lresolv
> > Undefined                       first referenced
> > symbol                             in file
> > SSL_load_error_strings              sslutils.o
>
> The linker cannot find your OpenSSL installation.  Try
>
>         ./configure --with-openssl=/path/to/ssl
>
> or set the environment variable $LDFLAGS to "/path/to/ssl/lib" prior to
> running ./configure.  If you don't need SSL at all, you could also
> disable it using "./configure --without-openssl".
>
> Holger
>
> --
> PGP fingerprint:  F1F0 9071 8084 A426 DD59  9839 59D3 F3A1 B8B5 D3DE
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Dave Rooney
+31 638310013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20070202/1a8938c2/attachment.html>


More information about the Help mailing list