[Nagiosplug-help] help to compile nrpe 2.0 b 4 on linux

Scot L. Harris webid at cfl.rr.com
Tue Jul 22 02:38:15 CEST 2003


On Mon, 2003-07-21 at 19:38, Scot L. Harris wrote:
> Looks like you need to install the openssl package on those systems. 
> while copying the include files got you past the first issue the fact
> that the libraries appear to be missing are the what tell me you don't
> have openssl installed.  
> 
> Check by doing an rpm -qa and grep for openssl.  Compare the results of
> that between the systems that work and the ones that don't.  If you find
> as I suspect that the openssl packages are not installed then install
> them and try rebuilding the nagios package on those.
> 
> On Mon, 2003-07-21 at 14:51, Iberê Luiz Di Tizio Junior wrote:
> > Hi,
> > My name is Ibere, I am a brasilian network administrator, and I ´m trying to implement nagios in my office.
> > 
> > I had compile without problems nrpe in 6 linux boxes, but in 3 boxes I had this problem when I try to "make all" :
> > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c 
> > In file included from ../common/config.h:190, 
> >                        from ../common/common.h:24, 
> >                        from nrpe.c:21:
> > /usr/local/ssl/include/openssl/rsa.h:62: openssl/asn1.h: No such file or directory 
> > /usr/local/ssl/include/openssl/rsa.h:65: openssl/bio.h: No such file or directory 
> > /usr/local/ssl/include/openssl/rsa.h:67: openssl/bn.h: No such file or directory 
> > /usr/local/ssl/include/openssl/rsa.h:68: openssl/crypto.h: No such file or directory 
> > /usr/local/ssl/include/openssl/rsa.h:69: openssl/ossl_typ.h: No such file or directory 
> > In file included from ../common/config.h:191,
> >                       from ../common/common.h:24, 
> >                       from nrpe.c:21: 
> > /usr/local/ssl/include/openssl/crypto.h:68: openssl/stack.h: No such file or directory
> > <------------------------------------------------------------------------------------>
> > 
> > I try to copy all include files to a directory bellow
> > mkdir /usr/local/ssl/include/openssl/openssl
> > cp /usr/local/ssl/include/openssl  /usr/local/ssl/include/openssl/openssl
> > 
> > and tried to compile again, and the error change to:
> > 
> > [root at wa07 nrpe-2.0b4]# make all
> > cd ./src/; make ; cd ..
> > make[1]: Entering directory `/home/jose.santos/nrpe-2.0b4/src'
> > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib  -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c
> > /tmp/ccTEbUBC.o: In function `get_dh512':
> > /home/jose.santos/nrpe-2.0b4/src/dh.h:19: undefined reference to `DH_new'
> > /home/jose.santos/nrpe-2.0b4/src/dh.h:20: undefined reference to `BN_bin2bn'
> > /home/jose.santos/nrpe-2.0b4/src/dh.h:21: undefined reference to `BN_bin2bn'
> > /home/jose.santos/nrpe-2.0b4/src/dh.h:23: undefined reference to `DH_free'
> > /tmp/ccTEbUBC.o: In function `main':
> > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:188: undefined reference to `SSL_library_init'
> > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:189: undefined reference to `SSL_library_init'
> > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:190: undefined reference to `SSLv23_server_method'
> > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:191: undefined reference to `SSL_load_error_strings'
> > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:192: undefined reference to `SSL_CTX_new'
> > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:197: undefined reference to `SSL_CTX_set_cipher_list'
> > <------------------------------------------------------------------------------------>
> > 
> > Please, what I am doing wrong ??
> > Thanks a lot.
> > 
> > Iberê Luiz Di Tizio Jr.
> > ibere.tizio at supportcomm.com.br
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems on a single machine.
> > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> > _______________________________________________
> > 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
-- 
Scot L. Harris <webid at cfl.rr.com>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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