Nagios plugin errors


#1

Hi! I get the following errors compiling nagios plugins 1.4.8 on my machine. Can anyone tell me what it means?

make[1]: Entering directory /home/admin.dk/nagios_2.9_install/nagios-plugins-1.4.8/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/home/admin.dk/nagios_2.9_install/nagios-plugins-1.4.8/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /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+0xbb): In functiondlfcn_load’:
: undefined reference to dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xf4): In functiondlfcn_load’:
: undefined reference to dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x16d): In functiondlfcn_unload’:
: undefined reference to dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x22c): In functiondlfcn_bind_var’:
: undefined reference to dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2a8): In functiondlfcn_bind_var’:
: undefined reference to dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x324): In functiondlfcn_bind_func’:
: undefined reference to dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x37c): In functiondlfcn_bind_func’:
: undefined reference to dlerror' collect2: ld returned 1 exit status make[1]: *** [check_http] Error 1 make[1]: Leaving directory/home/admin.dk/nagios_2.9_install/nagios-plugins-1.4.8/plugins’
make: *** [install-recursive] Error 1

Thanks.


#2

I’ve got similar errors while compiling NRPE plugin having 0.9.8e version of OpenSSL installed. The problem disappeared after downgrade OpenSSL into 0.9.7m version.


#3

Thanks for the reply, I’ll get SSL installed and give it a shot.