I loaded openssl 0.9.8g and when I complie Nagios plugin it says yes
next to openssl, but when I do the make I get the following. I complied
Nagios plugin with "[EMAIL PROTECTED] nagios-plugins-1.4.11]# ./configure
--prefix=/usr/local/nagios/libexec --with-ssl-dir=/usr/local/ssl
--with-libs=-ldl"

 

.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/root/downloads/Nagios-3.0rc2/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 function
`dlfcn_bind_func':

dso_dlfcn.c:(.text+0x27d): undefined reference to `dlsym'

dso_dlfcn.c:(.text+0x2f9): undefined reference to `dlerror'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_bind_var':

dso_dlfcn.c:(.text+0x36d): undefined reference to `dlsym'

dso_dlfcn.c:(.text+0x3e1): undefined reference to `dlerror'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':

dso_dlfcn.c:(.text+0x44c): undefined reference to `dlclose'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':

dso_dlfcn.c:(.text+0x4f5): undefined reference to `dlopen'

dso_dlfcn.c:(.text+0x546): undefined reference to `dlclose'

dso_dlfcn.c:(.text+0x56f): undefined reference to `dlerror'

collect2: ld returned 1 exit status

make[2]: *** [check_http] Error 1

make[2]: Leaving directory
`/root/downloads/Nagios-3.0rc2/nagios-plugins-1.4.11/plugins'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/root/downloads/Nagios-3.0rc2/nagios-plugins-1.4.11'

make: *** [all] Error 2

 

 

Could you please advise. 

 

 

 

 

Azam Syed

6100 Blue Lagoon Dr, Suite 450

Miami, FL 33126

Main: (786) 621-4400 x2072

[EMAIL PROTECTED]

 

 

 

<<image001.jpg>>

Reply via email to