find_zh 2020-02-06 20:18 采纳率: 0%
浏览 16666

编译openssh出现报错configure: error: OpenSSL library not found.

checking if getpgrp accepts zero args... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking OpenSSL header version... 1010104f (OpenSSL 1.1.1d 10 Sep 2019)
checking for OpenSSL_version... no
checking for OpenSSL_version_num... no
checking OpenSSL library version... not found
configure: error: OpenSSL library not found.
[root@localhost openssh-8.1p1]#
编译openssh时,出现这个问题,就在执行 ./configure弹出的
电脑里面有两个openssl
[root@localhost openssh-8.1p1]# /usr/local/bin/openssl version
OpenSSL 1.1.1d 10 Sep 2019
[root@localhost openssh-8.1p1]# /bin/openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
[root@localhost openssh-8.1p1]#
上面是编译安装的,在/usr/local下面,一个是系统自带的在/usr下面。请问怎么将这个编译的openssh装上去,出现这个报错 怎么解决

  • 写回答

4条回答 默认 最新

  • bucktan 2020-04-20 10:23
    关注

    卸载当前openssl-devel版本然后再安装上这个版本,问题解决;但原因是啥也还在找

    评论

报告相同问题?