openssl: error libssl.so.1.1

在centos 7 系统编译安装后,执行 openssl version -a 报如下错误

openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

这是因为openssl库的位置不正确造成的

添加两条软链接

ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1
ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1

再次执行解决问题

[email protected]/0 # openssl version -a
OpenSSL 1.1.0f  25 May 2017
built on: reproducible build, date unspecified
platform: linux-x86_64
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib64/engines-1.1\""  -Wa,--noexecstack
OPENSSLDIR: "/usr/local/ssl"
ENGINESDIR: "/usr/local/lib64/engines-1.1"

原文地址:http://blog.51cto.com/chaichuan/2071333

时间: 2024-08-02 00:13:16

openssl: error libssl.so.1.1的相关文章

实验五 遇到的问题:openssl: error while loading shared libraries: libssl.so.1.1

遇到的问题 命令行:[email protected]:~/exp/exp5$ openssl enc -aes-128-cbc -in test_aes.txt -out out.txt -pass pass:123456 报错:openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 即,加载共享库时出错:lib

使用PHPMailer 中的报错解决 "Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:"

PHPMailer项目地址:https://github.com/PHPMailer/PHPMailer 项目中用到PHPMailer,使用过程中报错:"Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:" 由于我用的第三方smtp是ssl链接,所以需要再添加一些参数: $mail->SMTPOptions =

file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL

原代码: <?php $response = file_get_contents("https://maps.co.weber.ut.us/arcgis/rest/services/SDE_composite_locator/GeocodeServer/findAddressCandidates?Street=&SingleLine=3042+N+1050+W&outFields=*&outSR=102100&searchExtent=&f=json

composer在update时提示file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO

在开发的时候,需要把依赖的服务更新到最新,然后 手动composer update一下,提示如下: 1 failed) Update failed (The "e "https://api.github.com/repos/illuminate/validation/zipball/6590d61858f78c301bced7308593abfcd1c7e527" fi" file could not be downloaded: SSL operation fai

OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

问题描述: 使用linux安装东西的时候出现的一个错误:OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version 解决办法: 执行如下命令即可: yum install openssl-devel -y 原文地址:https://www.cnblogs.com/mmzs/p/12090221.html

openssl version 查看openssl 版本出现openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory,怎么办

查看openssl版本, 解决办法: ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1 ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1 原文地址:https://www.cnblogs.com/peteremperor/p/9994108.html

openssl error while loading serial number

unable to load number from D:/Program Files/OpenSSL-Win64/bin/demoCA/serialerror while loading serial number9552:error:0D066096:asn1 encoding routines:a2i_ASN1_INTEGER:short line:.\crypto\asn1\f_int.c:210: 解决: echo 00 > serial win10 这儿产生Unicode文件,ope

.net core 3.0 3.1 在docker 下报SSL Handshake failed with OpenSSL error

参考地址:https://github.com/dotnet/corefx/issues/40538 According to https://www.ssllabs.com/ssltest/analyze.html?d=api-fxpractice.oanda.com their key exchanges are preferring DHE-1024 over ECDHE. Using the guidance from NIST SP 800-57, a 1024-bit DHE key

[/usr/local/openssl//.openssl/include/openssl/ssl.h] Error 127

/bin/sh: line 2: ./config: No such file or directorymake[1]: *** [/usr/local/ssl/.openssl/include/openssl/ssl.h] Error 127make[1]: Leaving directory `/usr/local/src/nginx-1.9.9'make: *** [build] Error 2需要说明的是,我这里编译所使用的Nginx源码是1.9.9的.根据报错信息我们知道,出错是因为N