[Nagiosplug-help] Plugin Compile Problem
Mike A. Davis
madavis at commspeed.net
Mon Mar 10 15:44:24 CET 2003
I have OpenSSL v0.9.7a installed, but I also just came across a much,
much older pre-installed copy of openssl in prefix=/usr... v0.9.3
(YIKES). Of course, configure was looking to this one instead of the
copy in /usr/local/ssl.
Wiping the old copy, and using --with-openssl=/usr/local/ssl got me
past... Thanks for pointing me into the right direction.
Unfortunately, I still cannot get the plugins to completely compile.
Looks like a radius problem this time. When compiling, I am confronted
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-I/usr/local/ssl/include -g -O2 -c check_radius.c
check_radius.c: In function `main':
check_radius.c:153: `BUFFER_LEN' undeclared (first use in this function)
check_radius.c:153: (Each undeclared identifier is reported only once
check_radius.c:153: for each function it appears in.)
make: *** [check_radius.o] Error 1
make: Leaving directory `/home/admin/nagios-plugins-1.3.0/plugins'
make: *** [all-recursive] Error 1
I have radiusclient-0.3 installed, and configure seems to find it ok.
Even so, I've tried installing the RPMS for radiusclient and
radiusclient-devel with no luck. Any ideas? Thanks much!
Mike A. Davis
From: Voon, Ton [mailto:Ton.Voon at egg.com]
Sent: Monday, March 10, 2003 3:15 AM
To: 'Mike A. Davis'; nagiosplug-help at lists.sourceforge.net
Subject: RE: [Nagiosplug-help] Plugin Compile Problem
It looks like ssl has been found. Are you using OpenSSL? If so, which
version? I normally compile with --with-openssl=/usr/local/ssl.
If you are not using OpenSSL, it is possible that RAND_status is not
supported. Take out lines 875 and 876 of check_http.c and see if that
Let us know how it goes.
> -----Original Message-----
> From: Mike A. Davis [SMTP:madavis at commspeed.net]
> Sent: Saturday, March 08, 2003 11:11 PM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: [Nagiosplug-help] Plugin Compile Problem
> I am trying to install nagios-plugins-1.3.0 for nagios-1.0.
> The compile errors out with the following information:
> gcc -g -O2 -L. -L/usr/lib -o check_http check_http.o netutils.o
> ../lib/libnagiosplug.a -lnsl -lresolv -lssl -lcrypto -lelf
> check_http.o: In function `connect_SSL':
> /home/admin/nagios-plugins-1.3.0/plugins/check_http.c:876: undefined
> reference to `RAND_status'
> collect2: ld returned 1 exit status
> make: *** [check_http] Error 1
> make: Leaving directory `/home/admin/nagios-plugins-1.3.0/plugins'
> make: *** [all-recursive] Error 1
> My configure line is: ./configure --prefix=/home/nagios
> All prerequisites are installed except for: pgsql, ldap, smbclient
> qstat (I dont use them)
> The machine is a Cobalt RaQ3 - Cobalt (Redhat(ripoff)) Linux
> on i586
> Any help is greatly appreciated. Thanks much.
> Mike A. Davis
This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.
Registered in England and Wales. Registered offices: 1 Waterhouse
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
More information about the Help