[Nagiosplug-help] compile error [check_http]

Yvan Rodrigues yrodrigu at uwaterloo.ca
Tue Nov 21 16:09:49 CET 2006


I did
./configure --prefix=/usr/lib/nagios
make

and I got:

-1.4.5/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a
../lib/libcoreutils.a
  -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/lib/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/l
ocal/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
if gcc -DLOCALEDIR=\"/usr/lib/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/l
ocal/ssl/include  -g -O2 -MT sslutils.o -MD -MP -MF ".deps/sslutils.Tpo"
-c -o s
slutils.o sslutils.c; \
then mv -f ".deps/sslutils.Tpo" ".deps/sslutils.Po"; else rm -f
".deps/sslutils.
Tpo"; exit 1; fi
if gcc -DLOCALEDIR=\"/usr/lib/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/l
ocal/ssl/include  -g -O2 -MT netutils.o -MD -MP -MF ".deps/netutils.Tpo"
-c -o n
etutils.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/home/yro
drigu/nagios-plugins-1.4.5/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+0x3e): In function
`dlfcn_load
':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xab): In function
`dlfcn_load
':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xd4): In function
`dlfcn_load
':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x14b): In function
`dlfcn_unl
oad':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x20b): In function
`dlfcn_bin
d_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x257): In function
`dlfcn_bin
d_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2fb): In function
`dlfcn_bin
d_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x347): In function
`dlfcn_bin
d_func':
: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/home/yrodrigu/nagios-plugins-1.4.5/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yrodrigu/nagios-plugins-1.4.5'
make: *** [all] Error 2
[root at potassium nagios-plugins-1.4.5]#

+-----------------------------------+------------------------------------+
| Yvan Rodrigues                    | Community for UW IT/IS staff:      |
| Manager, Systems and Technology   | http://watitb.uwaterloo.ca         |
| University of Waterloo Graphics   |                                    |
| yrodrigu at uwaterloo.ca             | December 6: WatITis conference     |
| http://www.graphics.uwaterloo.ca  | for IT/IS collaboration at UW      |
+-----------------------------------+------------------------------------+
 





More information about the Help mailing list