[Nagiosplug-help] Cannot compile plugins

Martin Hogg martin.hogg at picassohr.com
Sun Jan 21 11:36:38 CET 2007


I have tried 1.4.4, 1.4.5 and the latest snapshot. Running Redhat 9 on a
686.  Crypto library is 0.9.8b

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap
-I/usr/local/ssl/include  -I/usr/kerberos/include
-I/usr/local/ssl/include  -g -O2 -MT netutils.o -MD -MP -MF
".deps/netutils.Tpo" -c -o netutils.o netutils.c; \

then mv -f ".deps/netutils.Tpo" ".deps/netutils.Po"; else rm -f
".deps/netutils.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 ../lib/libcoreutils.a  -lnsl -lresolv
-lssl -lcrypto

gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
-L/usr/local/nagios-plugins-HEAD-200701010052/plugins
-L/usr/local/ssl/lib ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl
-lresolv -lssl -lcrypto

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

: undefined reference to `dlopen'

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

: undefined reference to `dlclose'

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

: undefined reference to `dlerror'

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

: undefined reference to `dlsym'

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

: undefined reference to `dlerror'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x229): In function
`dlfcn_bind_func':

: undefined reference to `dlsym'

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function
`dlfcn_bind_func':

: undefined reference to `dlerror'

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

: undefined reference to `dlclose'

collect2: ld returned 1 exit status

 

Regards

Martin Hogg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20070121/159b38bc/attachment.html>


More information about the Help mailing list