`
sanyecao2314
  • 浏览: 135261 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

ubuntu configure: error: Cannot find ssl libraries

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

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

参考:
转自: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!
分享到:
评论

相关推荐

    CentOS下编译php时的一些典型错误及解决办法.

    11. configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore! 解决方法: yum install mysql-devel 此错误是由于缺少 mysql-devel 库文件所...

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...

    PHP编译configure时常见错误的总结

    3. **错误:configure: error: Cannot find OpenSSL’s** 解决方案:在CentOS上,需安装`openssl-devel`,命令为`yum -y install openssl-devel`。 4. **错误:configure: error: libjpeg.(a|so) not found** ...

    Linphone编译错误及解决方法

    7. configure: error: Could not find libavcodec (from ffmpeg) headers and library. This is mandatory for video support 错误原因:缺少libavcodec头文件和库文件。 解决方法:sudo apt-get install ...

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    在PHP的mysqli扩展中,如果遇到“configure: error: wrong mysql library version or lib not found”错误,可能还需要在mysqli扩展目录下进行以下操作: 1. **切换到mysqli扩展目录**:`cd /usr/local/src/...

    libmount-2.32.tar.gz

    然而,当我们尝试编译和安装这个版本时,可能会遇到“configure: error: *** Could not find libmount”这样的错误提示,这通常是由于系统环境配置不完整或者依赖关系未满足所导致的。 首先,我们要明白“configure...

    Arm板Apache+PHP环境搭建

    configure: error: cannot check for file existence when cross compiling的错误。 2. 需要添加ac_cv_func_setpgrp_void=yes选项,以避免出现checking whether setpgrp takes no argument... configure: error: ...

    device-mapper.1.02.28.tgz

    在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家

    gcc-4.9.4安装包

    在编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 要支持C++11,必须升级到gcc4.7以上。

    suse系统ssh升级压缩包.tar

    本升级包中包含openssh-8.1p1.tar.gz openssl-1.1.1b.tar.gz zlib-1.2.11.tar.gz等3个源码资源包。

    Linux 开发板移植gdb

    开发板没有gdb,写程序老出错而且找不到问题在哪里。于是痛定思痛,决定移植一个gdb。 交叉编译器:arm-none-linux-gnueabi ...(3)./configure –host=arm-none-linux-gnueabi –prefix=$PWD/install –wi

    php源代码安装常见错误与解决办法分享

    16. **错误:Configure: error: Cannot find MySQL header files under /usr. Note that the MySQL client library is not bundled anymore!** 解决:再次确认是否已安装`mysql-devel`,如果没有,运行`yum install...

    gcc_4.9.4_gcc+gmp+mpfr+mpc.tar.gz

    编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...

    gmp 5.0.4 安装GCC必需文件

    安装GCC必需的三个文件(gmp、mpfr、mpc)之一,gmp,安装此库之前需要先安装M4,否则无法完成安装。另:上述文件我已上传至我的资源,如有需要下载即可。 GMP is a free library for arbitrary precision ...

    Ubuntu 18 搭建openjdk源码 报错误 configure: error: Could not find required tool for ZIPEXE

    1. 首先下载openjdk11源码 ,我的环境是ubuntu18 我这里使用的docker下载,docker环境搭建可以参考我的另一篇博文 SpringCloud-基础设施即服务day3-Docker上 拷贝这段代码进入虚拟机(ps:注意文件路径) docker run ...

    apache2.4完整安装

    ### Apache2.4完整安装及解决configure: error: APR-util not found问题 #### 一、背景介绍 Apache HTTP Server(通常简称为Apache)是目前最流行的Web服务器软件之一,广泛应用于互联网上的各种网站和应用程序。...

    CentOS编译安装PHP常见错误及解决办法

    14. 错误:`configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path` 解决方法:安装postgresql的开发库,命令是`yum -y install postgresql-devel`。 15. 错误:`...

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    然而,在安装`imagick`扩展时,可能会遇到各种问题,其中一种常见的错误是“Cannot locate header file MagickWand.h”。这通常意味着编译器在指定的路径下找不到必要的头文件,导致配置过程失败。 当安装`imagick`...

Global site tag (gtag.js) - Google Analytics