在ubuntu 14.10上的nginx上安装nagios 4.1.1

时间:2016-06-28 06:04:50

标签: nginx nagios

我正在尝试在nginx上安装nagios。

我已经完成了Nagios核心而没有任何错误,但是当我尝试安装插件时,我遇到了错误

我正在使用“make”来做它&得到以下错误:

libtool: link: gcc -DNP_VERSION=\"2.1.1\" -g -O2 -o check_dummy check_dummy.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2.1.1"' -g -O2 -MT check_http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c
mv -f .deps/check_http.Tpo .deps/check_http.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.1.1"' -g -O2  -L. -o check_http check_http.o libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.1.1\" -g -O2 -o check_http check_http.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libnpcommon.a(sslutils.o): In function `np_net_ssl_init_with_hostname_version_and_cert':
/usr/local/src/nagios-plugins-2.1.1/plugins/sslutils.c:73: undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/usr/local/src/nagios-plugins-2.1.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-plugins-2.1.1'
make: *** [all] Error 2

所以有人能说出为什么会出现这个错误吗?

1 个答案:

答案 0 :(得分:0)