NRPE Compiling problem
Jeff Loyet
Jeff.Loyet at interchangetech.com
Mon Aug 7 21:26:37 CEST 2006
Hey everyone,
I posted this to the Nagios-Plugins-Help list last week, but didn't get
any response. I'm hoping this list will be able to help me out.
This is a new installation of Nagios running on SLES 9.0. Nagios is
installed and working fine. SSL is installed. When I run the
./configure script on NRPE 2.5.2 everything appears to work. When I
compile with "make all", here's the output I receive:
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.
If anyone can point me in the right direction on this, I would be
GREATLY appreciative! Thanks in advance.
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-lists.org/archive/users/attachments/20060807/0ceba991/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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