Nagios Plugins 2.10 build problem

mark.potter at academy.com mark.potter at academy.com
Wed Oct 24 15:43:30 CEST 2007


I am having an issue with an up to date SLES 9.3 server and the latest 
release of Nagios Plugins.  I have the proper devel packages installed as 
shown below but the plugins still will not build:


if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. 
-I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/local/ssl/include 
-I/usr/local/ssl/include  -g -O2 -MT check_http.o -MD -MP -MF 
".deps/check_http.Tpo" -c -o check_http.o check_http.c; \
then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f 
".deps/check_http.Tpo"; exit 1; fi
/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/root/scratch/nagios-plugins-1.4.10/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+0x247): In function 
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293): In function 
`dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323): In function 
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391): In function 
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb): In function 
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485): In function 
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5): In function 
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e): In function 
`dlfcn_load':
: undefined reference to `dlerror'

~/scratch/nagios-plugins-1.4.10 # rpm -qa | grep ssl
openssl-0.9.7d-15.32
openssl-devel-0.9.7d-15.32

I cannot see a requirement in ./configure for a newer version. I tried to 
use gnutls and met with the same sort of issue. I feel it is something 
obvious I am missing. Any help would be appreciated.

Best Regards,

Mark L. Potter
Systems Engineer
Academy Sports & Outdoors

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071024/1a7aa2ea/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list