Hi,
I've been messing around with nagios for some time. I always just installed the nrpe client by just doing the normal ./configure, make all, then copy the nrpe and nrpe.cfg files to the right directories.
While trying to do the same with a differnt company, and a slightly differnt red hat install, I'm unable to just to my normal.
When I run make all, I'm getting this out put:
Code:
make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/home/charlier/nrpe-2.0/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+0x4e): In function `dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbd): In function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xf8): In function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x17d): In function `dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x23c): In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2c0): In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x344): In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3a0): In function `dlfcn_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.0/src'
Has anyone else ran into this problem before? The machine is red hat 4, 64 bit machine if that helps anyone.
I am able to compile without the ssl, get nrpe running, but it doesn't work as well. When you do a nmap on the localhost, I am not seeign the port 5666 open as I believe it should be.
Ideas?