Nagios: NRPE configure error

编译nrpe时出现错误:

      checking for SSL headers... configure: error: Cannot find ssl headers

解决方法:

1.   ubuntu:

      1)  安装openssl和libssl-dev,如果已经安装,则用apt-file检查的libssl-dev的安装目录      

     (安装 apt-file:sudo apt-get install apt-file -y)

apt-file search libssl | grep libssl-dev
apt-file search libssl | grep libssl-dev
libssl-dev: /usr/lib/i386-linux-gnu/libssl.a
libssl-dev: /usr/lib/i386-linux-gnu/libssl.so
libssl-dev: /usr/lib/i386-linux-gnu/pkgconfig/libssl.pc
libssl-dev: /usr/share/doc/libssl-dev/changelog.Debian.gz
libssl-dev: /usr/share/doc/libssl-dev/changelog.gz
libssl-dev: /usr/share/doc/libssl-dev/copyright

   2) configure时指定:--with-ssl-lib=/usr/lib/i386-linux-gnu/

2.  centos 出现此错误

    1)  yum -y install openssl openssl-devel



你可能感兴趣的:(Nagios: NRPE configure error)