Make error


#1

When i try to “make” nrpe i get this error.

cd ./src/; make ; cd …
make[1]: Entering directory /root/download/nrpe-2.8/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): In functiondlfcn_bind_func’:
dso_dlfcn.c:(.text+0x2e5): undefined reference to dlsym' dso_dlfcn.c:(.text+0x3c6): undefined reference todlerror’
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_bind_var': dso_dlfcn.c:(.text+0x451): undefined reference todlsym’
dso_dlfcn.c:(.text+0x52d): undefined reference to dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_unload’:
dso_dlfcn.c:(.text+0x593): undefined reference to dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_load’:
dso_dlfcn.c:(.text+0x667): undefined reference to dlopen' dso_dlfcn.c:(.text+0x6d8): undefined reference todlclose’
dso_dlfcn.c:(.text+0x71d): undefined reference to dlerror' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory/root/download/nrpe-2.8/src’

can someone help me ?

Kind Regards


#2

Can you provide more information?
OS version, etc

And the output from command ‘openssl version’


#3

OS: Suse 10,0 enterprise
openssl version: OpenSSL 0.9.8a 11 Oct 2005
nagios version: 3,0


#4

I am having this same problem trying to make the plugins. Was there any resolution to this problem?

I am trying to build it on ubuntu 6.10 Desktop, kernel 2.6.17-50-generic.
OpenSSL 0.9.8b 04 May 2006

I’ve tried plugins 1.4.9 and trunk-200709171200.

Any help would be greatly appreciated


#5

i think if you update your openSSL that should help… but im not sure.