title: 'Ubuntu: Cannot find ssl headers' date: '2014-05-21T11:20:44+08:00'
今天我在ubuntu下安装nrpe,以前也在centos上装过nrpe,报错:error:cannot find ssl headers,我想大家都遇到过吧,从网上一查,ok,少包,yum install openssl-devel,解决。
root@nerc:/etc/nagios3/nrpe-2.12# ./configure –with-ssl=/usr/bin/openssl –with-ssl-lib=/usr/lib/i386-linux-gnu
如果在ubuntu执行apt-get install openssl-devel,提示没有这个包,继续百度,找到需要如下操作:
sudo apt-get install openssl
sudo apt-get install libssl-dev
./configure
还是报错,最后执行开头语句正常
(http://photo.blog.sina.com.cn/showpic.html#blogid=6e0c0fdf0101bvjr&url=http://album.sina.com.cn/pic/0020WOSjgy6F8MlaBsjef)
评论区