安装nagios-plugins插件make时遇到的error

长孙逸仙
2023-12-01

安装nagios-plugins插件make时遇到的error                                  

error内容:

check_http.c: In function ‘process_arguments’:
check_http.c:312: error: ‘ssl_version’ undeclared (first use in this function)
check_http.c:312: error: (Each undeclared identifier is reported only once
check_http.c:312: error: for each function it appears in.)
make[2]: *** [check_http.o] Error 1
make[2]: Leaving directory `/root/nagios-plugins-1.4.16/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.16'
make: *** [all] Error 2

 

解决方法:

yum -y install gd gd-devel *openssl*

 

转载于:https://www.cnblogs.com/tangshengwei/p/4835434.html

 类似资料: