|
我不能保证.监控几台服务器,主程序,的时候报了如下的错误
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/home/jacky/nagios/nagios-plugins-1.4.9/plugins -L/usr/local/openssl/lib
../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x2b4): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x361): undefined reference to `dlerror'
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x3d4): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x481): undefined reference to `dlerror'
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x4dd): undefined reference to `dlclose'
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x592): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x5fb): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x623): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/home/jacky/nagios/nagios-plugins-1.4.9/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jacky/nagios/nagios-plugins-1.4.9'
make: *** [all] Error 2
| 怎么办?google.不兼容的,发现文章后面的留言有个人也是类似的错误,没办法了,要知道插件本身就是一些可以独立执行的程序,下不就行了,终于把插件都装好了.注:了,但无论如何,在被监控机上,而NRPE的时候碰到这个错误.
rpm??光是要装那些依赖性包我就会头晕了.是的曙光!
http://www.linuxquestions.org/questions/showthread.php?t=555818
http://www.linuxquestions.org/questions/showthread.php?t=558277
报这个错误, |
|
|