[Nagiosplug-help] NRPE problem

Jeff Loyet Jeff.Loyet at interchangetech.com
Fri Aug 4 19:31:42 CEST 2006


I'm trying to compile NRPE 2.5.2 and the configure script runs fine.
When compile with 'make all', here's what I get:

 

cd ./src/; make ; cd ..

make[1]: Entering directory `/root/nagios/nrpe-2.5.2/src'

gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib  -lssl
-lcrypto -lnsl

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247): In function
`dlfcn_bind_func':

: undefined reference to `dlsym'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293): In function
`dlfcn_bind_func':

: undefined reference to `dlerror'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323): In function
`dlfcn_bind_var':

: undefined reference to `dlsym'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391): In function
`dlfcn_bind_var':

: undefined reference to `dlerror'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb): In function
`dlfcn_unload':

: undefined reference to `dlclose'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485): In function
`dlfcn_load':

: undefined reference to `dlopen'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5): In function
`dlfcn_load':

: undefined reference to `dlclose'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e): In function
`dlfcn_load':

: undefined reference to `dlerror'

collect2: ld returned 1 exit status

make[1]: *** [nrpe] Error 1

make[1]: Leaving directory `/root/nagios/nrpe-2.5.2/src'

 

*** Compile finished ***

 

If the NRPE daemon and client compiled without any errors, you

can continue with installation.  The NRPE daemon and client

binaries are located in the src/ subdirectory.

 

 ** If this is your monitoring host **

 

     - Copy the check_nrpe client to the directory that

       contains your Nagios plugins.

     - Create a command definition in your Nagios config

       file for the NRPE client.  See the README file for

       more info on doing this.

 

 ** If this host will be running the NRPE daemon **

 

     - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios

       or wherever you feel it fits best.

     - Copy the sample nrpe.cfg config file to /etc,

       /usr/local/nagios or wherever you feel it fits best.

     - Modify the /etc/services file and configure NRPE to

       run under inetd, xinetd, or as a standalone daemon.

       See the README file for more info on doing this.

 

Any suggestions would be greatly appreciated.

 

Jeff

 

Jeffrey P. Loyet

Systems Engineer

Interchange Technologies, Inc.

8130 Brentwood Industrial Drive

St. Louis, MO  63144

Office: (314) 647-5440

Fax: (314) 647-8233

Mobile: (314) 640-6404

jeff.loyet at interchangetech.com

http://www.interchangetech.com/

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20060804/87da089e/attachment.html>


More information about the Help mailing list