Error Compiling plugins


#1

Hello,
I seem to be having trouble compiling the plugins for Nagios. I am using the 1.4.11 plugins. Nagios version is 3.0 rc3. O\S is FC7. Open SSL version is .9.8g
./configure runs fine.
Here are the errors when I run make
Making all in plugins
make[2]: Entering directory /usr/installs/nagios/nagios-plugins-1.4.11/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/usr/installs/nagios/nagios-plugins-1.4.11/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): 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[2]: *** [check_http] Error 1 make[2]: Leaving directory/usr/installs/nagios/nagios-plugins-1.4.11/plugins’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/installs/nagios/nagios-plugins-1.4.11’
make: *** [all] Error 2

Any help would be appreciated.