ubuntu configure: error: Cannot find ssl libraries

[b]问题:[/b]
安装软件一直提示configure: error: Cannot find ssl libraries.百度后,所需软件挨着安装一遍还是报这个错.

[b]解决方式:[/b]
1.通过dpkg -L libssl-dev命令检查是否真安装了ssl,安装过的会有一个libssl.so文件.
2.通过link整到需要的目录就行.ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so

[b]参考:[/b]
转自:http://ubuntuforums.org/showthread.php?t=1975917

i have installed nagios and i want to install nrpe. While installing NRPE, when i execute (/home/abc/nrpe/configure)

Code:
./configure
it stops after reaching the following line

Code:
...
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... configure: error: Cannot find ssl libraries
I have installed libssl-dev and openssl package as i found them as a solution for this error.

I tried the following option also

Code:
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib
But the error remains.

What can be the possible solution for this ? I am using ubuntu 12.04 as my operating system. Thanks in advance.
Thanks & Regards
Ankur M Trapasiya
Advanced replyAdv Reply
May 8th, 2012#2
safwanlmu
safwanlmu is offlineFirst Cup of Ubuntu
Join Date
Sep 2011
Beans
2
Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

Make a link of the libssl.so.version to libssl.so. I was able to install nrpe using this on oneric.

cd /usr/lib

ln -s libssl.so.0.9.8 libssl.so
Advanced replyAdv Reply
May 8th, 2012#3
RHAnthony
RHAnthony is offline5 Cups of Ubuntu
Join Date
Apr 2007
Beans
Hidden!
Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

I am still having the issue as well after installing libssl-dev, and I also can not see any ssl files in /usr/lib


Code:
root@aspen:/usr/lib# sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@aspen:/usr/lib# ls libssl*
ls: cannot access libssl*: No such file or directory
root@aspen:/usr/lib#
I then put in this command
Code:
dpkg -L libssl-dev
... which showed a libssl.so inside of /usr/lib/x86_64-linux-gnu/

I made a link to it with:
Code:
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so
..and then was able to configure and make my nrpe install!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值