check_http.c:312: error: ‘ssl_version’

安装nagios-plugins-1.4.16,安装的过程中出现了错误,提示如下、check_http.c:312: error: ‘ssl_version’ undeclared (first use in this function)check_http.c:312:             e rror: (Each undeclared identifier is reported only once

  1. check_http.c:312: error: for each function it appears in.)
    make[2]: *** [check_http.o] Error 1
    make[2]: Leaving directory `/usr/src/nagios-plugins-1.4.16/plugins'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/nagios-plugins-1.4.16'
    make: *** [all] Error 2

根据提示觉得是openssl的版本和openssl没有安装的问题,就rpm查看了一下发现已经安装了

  1. 02、 rpm -qa |grep openssl
  2. openssl-0.9.8e-7.el5

想想之前在配置nagios的时候也安装了就去看看关于Openssl的组件少了什么,一查看
多了openssl-devel,然后在EMOS上安装了openssl-devel问题解决。

  1. 03、[root@test ~]# rpm -qa |grep openssl
    openssl-0.9.8e-12.el5_4.6
    openssl-devel-0.9.8e-12.el5_4.6
    openssl-devel-0.9.8e-12.el5_4.6
    openssl-0.9.8e-12.el5_4.6

      

    1. 04、 yum install openssl-devel
posted on 2013-07-03 16:54  语辰  阅读(360)  评论(0编辑  收藏  举报