2016-06-28 74 views
0

我想在nginx上安裝nagios。在ubuntu上安裝nagios 4.1.1在nginx上14.10

我與Nagios的核心做沒有任何錯誤,但是當我試圖安裝插件我有錯誤

我使用的「讓」做&,提示以下錯誤:

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 

那麼誰能說出爲什麼會出現這個錯誤?

回答