NRPE make problem


#1

Hey guys / gals,

I am trying to install a copy of NRPE on redhat linux 4 64bit. I have installed this on similar servers no problem, but I can’t get it to go on this one.

Usually to install, i just do the normal ‘./configure’ ‘make’ ‘make install’.

It goes through the ./configure fine. But when I run ‘make’, I get the following.

[code]./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking whether make sets $(MAKE)… yes
checking how to run the C preprocessor… gcc -E
checking for egrep… grep -E
checking for ANSI C header files… yes
checking whether time.h and sys/time.h may both be included… yes
checking for sys/wait.h that is POSIX.1 compatible… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking ctype.h usability… yes
checking ctype.h presence… yes
checking for ctype.h… yes
checking dirent.h usability… yes
checking dirent.h presence… yes
checking for dirent.h… yes
checking errno.h usability… yes
checking errno.h presence… yes
checking for errno.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking getopt.h usability… yes
checking getopt.h presence… yes
checking for getopt.h… yes
checking grp.h usability… yes
checking grp.h presence… yes
checking for grp.h… yes
checking for inttypes.h… (cached) yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking pwd.h usability… yes
checking pwd.h presence… yes
checking for pwd.h… yes
checking signal.h usability… yes
checking signal.h presence… yes
checking for signal.h… yes
checking for stdint.h… (cached) yes
checking for strings.h… (cached) yes
checking for string.h… (cached) yes
checking syslog.h usability… yes
checking syslog.h presence… yes
checking for syslog.h… yes
checking tcpd.h usability… yes
checking tcpd.h presence… yes
checking for tcpd.h… yes
checking for unistd.h… (cached) yes
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking socket.h usability… no
checking socket.h presence… no
checking for socket.h… no
checking for sys/types.h… (cached) yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking sys/resource.h usability… yes
checking sys/resource.h presence… yes
checking for sys/resource.h… yes
checking for sys/wait.h… (cached) yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking for sys/stat.h… (cached) yes
checking for an ANSI C-conforming const… yes
checking whether struct tm is in sys/time.h or time.h… time.h
checking for mode_t… yes
checking for pid_t… yes
checking for size_t… yes
checking return type of signal handlers… void
checking for uid_t in sys/types.h… yes
checking type of array argument to getgroups… gid_t
checking for int… yes
checking size of int… 4
checking for short… yes
checking size of short… 2
checking for long… yes
checking size of long… 8
checking for uint32_t… yes
checking for u_int32_t… yes
checking for int32_t… yes
checking for va_copy… yes
checking for vsnprintf… yes
checking for snprintf… yes
checking for asprintf… yes
checking for vasprintf… yes
checking for C99 vsnprintf… yes
checking for getopt_long… yes
checking for main in -lnsl… yes
checking for socket in -lsocket… no
checking for main in -lwrap… yes
checking for strdup… yes
checking for strstr… yes
checking for strtoul… yes
checking for initgroups… yes
checking for closesocket… no
checking for socklen_t… yes
checking for type of socket size… size_t
checking for SSL… SSL found in /usr/local/ssl

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+.+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…++++++++++++
checking for Kerberos include files… could not find include files
GROUP: nagios
checking for perl… /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating subst
config.status: creating include/config.h
config.status: include/config.h is unchanged

*** Configuration summary for nrpe 2.10 10-19-2007 ***:

General Options:

NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios

Review the options above for accuracy. If they look okay,
type ‘make all’ to compile the NRPE daemon and client.

[[email protected] nrpe-2.10]# make
cd ./src/; make ; cd …
make[1]: Entering directory /home/charlier/nrpe-2.10/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 -lwrap /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e): In functiondlfcn_load’:
: undefined reference to dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbd): In functiondlfcn_load’:
: undefined reference to dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xf8): In functiondlfcn_load’:
: undefined reference to dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x17d): In functiondlfcn_unload’:
: undefined reference to dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x23c): In functiondlfcn_bind_var’:
: undefined reference to dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2c0): In functiondlfcn_bind_var’:
: undefined reference to dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x344): In functiondlfcn_bind_func’:
: undefined reference to dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3a0): In functiondlfcn_bind_func’:
: undefined reference to dlerror' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory/home/charlier/nrpe-2.10/src’

*** Compile finished ***

If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.

Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.[/code]

Here’s some system stats in case that may help.

Redhat 4 64 bit
NRPE 2.10
OpenSSL 0.9.7a (installed via ‘up2date’)

I’m totally lost here. I can’t get this to take.