[Nagiosplug-devel] problems compiling new plugin versions for nagios

Jérôme Fenal jfenal at gmail.com
Tue Jan 16 12:35:14 CET 2007


2007/1/16, Jaime Fernandez <jaime_fernandez at jdv.com>:
>
>
> Hi,
>
> I am currently having problems compiling the latest version of the nagios
> plugins on my RHES3 server.
> I am running the following SSL version:
>
> [root at nagios nagios-plugins-1.4.5]# rpm -qa |grep openssl
> openssl-0.9.7a-33.21
> openssl-devel-0.9.7a-33.21
> [root at nagios nagios-plugins-1.4.5]# cat /etc/redhat-release
> Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
>
>
> I get the error message below when i run the make command after a
> successfully compiling the plugins with SSL support:
>
>  then mv -f ".deps/netutils.Tpo" ".deps/netutils.Po"; else rm -f
> ".deps/netutils.Tpo"; exit 1; fi
> /bin/sh ../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 -lresolv -lssl
> -lcrypto
> gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
> -L/root/nagios-plugins-1.4.5/plugins -L/usr/local/ssl/lib
> ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -lssl -lcrypto

Add -ldl at the end of the compiler flags, and you should be OK.

Regards,

J.
-- 
Jérôme Fenal - jfenal AT gmail.com - http://fenal.org/
Paris.pm - http://paris.mongueurs.net/


More information about the Devel mailing list