/nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No

GmSSL: java.lang.UnsatisfiedLinkError: dlopen failed: library "libcrypto.so.1.1" not found 将编译完成的GmSSL文件libssl.so,libcrypto.so,libgmssljni.so,添加到src/main/jniLibs目录下,按照对应的指令集存放 例如 jniLibs/armeabi-v7a/libssl.so jniLibs/armeabi-v7a/libcrypto.so jniLibs/armeabi-v7a/libgmssljni.so 打包成APK文件,查看so... 阅读详情

在CentOS7下配置Nginx,但是一致都在报错。报错信息为:

./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

如下图所示:

在这里插入图片描述

首先检测原因所在,通过下面的命令行检测:

ldd $(which /usr/local/nginx/sbin/nginx)
执行结果 下图所示:
在这里插入图片描述

报错的原因是库文件少了:libcrypto.so.1.1文件,显示为Not found

接下来查看openssl version,并且输入出的结果如下图所示:
在这里插入图片描述

通过命令行:openssl version

报错的信息是:openssl:error while loading shared libraries:libssl.so.1.1:cannot open shared object file:No such file or directory

解决该问题的命令行如下:

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

然后,执行

ldd $(which /usr/local/nginx/sbin/nginx)

查看的结果如下图所示:
在这里插入图片描述

此时题目中给出的问题就解决了。

重新启动Nginx试试看。

[root@localhost sbin]# ./nginx
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
如果浏览器显示如下界面,表示CentOS下配置Nginx服务器已成功:在这里插入图片描述

————————————————

原文链接:https://blog.csdn.net/qq_30507287/java/article/details/69389982

【救援过程】升级openssl导致libcrypto.so.1.1动态库不可用 编译打包openssl-1.1.1k并给服务器升级,由于1.1.1k版本的libcrypto.so.1.1动态库与1.1.1g版本的不同,导致有依赖的命令均不能正常使用。 不建议自行升级openssl到1.1.1k,特别是不要替换libcrypto.so.1.1动态库。 yum、rpm命令也依赖libcrypto.so库,在救援模式下调用yum、rpm卸载openssl-1.1.1k也不可能。 最终提取openssl-1.1.1g归档文件,在救援模式下覆盖到相应目录,解决这个故障。 记录过程。 阅读详情

相关推荐

启动nginx报错./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file

首先检测原因所在,通过下面的命令行检测: ldd $(which /usr/local/nginx/sbin/nginx) [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-p6C8z66X-1596616898118)(1)] 报错的原因是库文件少了:libcrypto.so.1.1文件,显示为Not found [root@server2 ~]# find / -type f -name *libpcre.so.* #查看libpcre.so文件位置 /mnt/pcr

qq_40780069的博客 1565

解决libssl.so.1.1 libcrypto.so.1.1依赖问题

libssl.so.1.1 libcrypto.so.1.1依赖问题;报错/usr/bin/ld: warning: libssl.so.1.1, needed by /usr/local/lib/libonvifptz.so, not found /usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/local/lib/libonvifptz.so, not found

m0_58530510的博客 1万+

Linux动态库缺失问题:从libcrypto.so.1.0.0到OpenSSL版本兼容性解决方案

动态链接库是Linux系统中实现代码共享和模块化的重要机制,其核心原理是通过动态链接器在程序运行时加载所需的共享对象文件。在软件开发和部署过程中,动态库版本不兼容是常见的技术挑战,尤其是当系统升级后,旧版本库文件被新版本替代,导致依赖旧版库的程序无法运行。这类问题的技术价值在于理解Linux系统的库管理机制,掌握多版本库共存和依赖解析的方法,能够有效提升软件的可移植性和部署效率。在实际应用场景中,OpenSSL作为广泛使用的加密库,其版本升级带来的ABI不兼容问题尤为典型,例如从OpenSSL 1.0.x升

adr5970的博客 539

/mongo: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object

这个错误提示表明在运行./mongo命令时,系统无法找到名为libcrypto.so.1.1的共享库文件。共享库文件是一些可被多个程序共享使用的代码和数据的集合,它们在系统中被动态加载。解决这个问题的方法是确保系统中已经安装了所需的共享库文件。4.也可以通过安装libcrypto.so.*全部安装。

杜小帅的博客 5537

Gmssl编译问题: error while loading shared libraries: libssl.so.1.1: cannot open shared object file

在Centos7上编译安装Gmssl后,运行gmssl version出现如下错误: gmssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 查找一下libssl.so.1.1的位置,然后连接到/usr/lib6...

专注基础架构领域 9389

基于 Quest 摄像头数据开发的原理介绍【Unity Meta Quest MR 开发教程】

比如想在识别到的现实物体上叠加虚拟物体,需要知道这个现实物体在 Unity 的世界坐标下的哪个位置,是带有 x,y,z 三个轴的数据的。而 WebCamTexture 捕捉到的图像只是个 2D 的平面,没有三维世界的深度信息,我们通过物体识别算法识别到的物体坐标只是在这个 2D 平面上的一个屏幕坐标,可以理解为 Quest 拍摄了一张照片,我们识别到这张照片上的某个像素点为需要识别的现实物体的中心。是不是看起来比较复杂?Quest 的相机访问功能是在安卓的。

qq_46044366的博客 2108

./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No

在CentOS7下配置Nginx,但是一致都在报错。报错信息为: ./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory 如下图所示: 首先检测原因所在,通过下面的命令行检测: ldd $(whic

崔洪振367 4万+

保姆级教程:用STM32CubeMX给STM32F407配置RTC秒中断,并解决掉电时间丢失问题

本文详细介绍了如何使用STM32CubeMX为STM32F407配置RTC秒中断,并解决掉电时间丢失问题。通过硬件原理与软件配置的双视角解析,帮助开发者实现精确计时与时间持久化,适用于物联网设备和工业控制器等场景。

weixin_42519733的博客 138

启动Nginx报错 ./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared

1 报错如下 [root@Nginx1 sbin]# ./nginx ./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory 2 解决方法 2.1 使用以下命令发现是缺失“libcrypto.so.1.1”库文件 [root@Nginx1 sbin]# ldd $(which /usr/local/nginx/sbin

Jackson 的博客 1万+

UE4_后期处理六—夜视仪、扫描线

观察下面一组蓝图节点的效果:当把角色的自定义深度通道开启:画面效果如图:这样我们就得到了一个这样的黑白蒙版。

Growthofnotes的博客 1734

经典损失函数——均方误差(MSE)和交叉熵误差(CEE)的python实现

损失函数(loss function)用来表示当前的神经网络对训练数据不拟合的程度。这个损失函数有很多,但是一般使用均方误差和交叉熵误差等。 1.均方误差(mean squared error) 先来看一下表达式: 用于将的求导结果变成,是神经网络的输出,是训练数据的标签值,k表示数据的维度。 用python实现: def MS...

Answer3664的博客 1万+

执行nginx报错,找不到库./sbin/nginx: error while loading shared libraries: libcrypto.so.6: cannot open share

在工作过程中,部署项目安装的nginx执行报错,找不到库../sbin/nginx: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory 由错误提示可以看出缺少libcrypto.so.6 通过命令:ldd $(wh

Loger 4万+

Vue2项目实战:海康威视WEB无插件开发包V3.4从下载到多画面预览(附完整代码)

本文详细介绍了在Vue2项目中集成海康威视WEB无插件开发包V3.4实现多画面监控预览的完整实战方案。内容涵盖从开发包下载、Nginx代理配置、核心组件封装到多画面并发加载与性能优化的全流程,并提供了完整的代码示例,帮助开发者高效解决浏览器无插件播放与多路视频流加载的难题。

c7d8e9的博客 324

解决:error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No

解决OpenSSL:error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No 解决OpenSSL:error while loading shared libraries: libcrypto.so.1.1: cannot open shared object fil...

段占彪的博客 11万+

解读(DivideMix)DIVIDEMIX: LEARNING WITH NOISY LABELS AS SEMI-SUPERVISED LEARNING

这是Salesforce在今年年初出的一篇关于半监督学习的文章被ICLR 2020收录,目前还保持在SOTA状态。 文章主要做了两点工作: • 提出了一个co-divide方法。 • 利用label co-refinement 和co-guessing 改善之前的谷歌提出的MixMatch方法 1.co-divide方法 大概思路:同时训练两个网络,让每个网络在样本损失分布上去拟合GMM模型,并利用GMM模型,将训练数据分为标签数据和未标签数据,co-divide 使前面分的标签与未标签数据分别在

so 5042

MAC-H3C官网inode客户端下载安装

MAC-H3C官网inode客户端下载安装

兴趣是最好的老师 1万+

error while loading shared libraries: xxx.so.x" 错误的原因和解决办法

Nginx启动出错 error while loading shared libraries [root@localhost conf]# /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1.1: cannot open sha

喝完牛奶好睡觉的博客 1839

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

nginx报错,找不到库./sbin/nginx: error while loading shared libraries: libcrypto.so.1.1

在工作过程中,部署项目安装的nginx执行报错,找不到库../nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory 由错误提示可以看出缺少libcrypto.so.1.1 通过命令:ldd $(whi...

iteye_7017的博客 2578

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file

在linux上安装了eclipse,运行和openssl相关的程序的时候,报错 error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory。 这个错误的解决方法有很多,要根据具体情况确定。 在eclipse上运行程序报错, ...

努力努力再努力!!! 3551

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

启动nginx少包:error while loading shared libraries: libssl.so.6

服务器启动nginx时报错: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory 执行find  / -name libssl.so* /usr/lib64/libssl.so.1.0.1e /usr/lib64/

pengpengfly_jhp的专栏 4166

./nginx: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No suc

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

有时间可以指导毕业设计,可以私聊我。一个热爱编程的smallCuteMonkey,可以私信我 4304

error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file解决

从网上查了教程说手工获取libssl.so.10,存放在libssl.so.1目录下,或者使用软链接,发现都没有办法,后续找到教程,安装openssl10。的错误,这通常意味着系统缺少必要的 OpenSSL 库文件,或者库文件的链接没有被正确设置。在启动 Nginx 时遇到。

weixin_38820713的博客 2062

解决libcrypto.so.0.9.8: cannot open shared object file

文章解决的问题:安装nginx中需要libcrypto.so.0.9.8包的支持,下面介绍如何安装 问题展示:error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory 解决方案: 这个包可以直接安装即可,安装后不需要连接

tool163的专栏 1万+

./nginx:error while loading shared libraires:libssl.so.10:cannot open shared object file or director

我的解决方案是从一个其他服务器scp复制一个过来。由于是内网,所以连不到外网,导致下载不了。所以直接去lib64下面挪过来就可以了。这些文件都是在lib64下面。

MRX001的博客 1801
上一篇: Linux删除文件出现rm: cannot remove `.user.ini‘: Operation not permitted
下一篇: zabbix-web-deps-scl-5.0.3-1.el7.noarch (zabbix-frontend) Requires: rh-php72-php-mbstring
金shell
博客等级 码龄9年 6263粉丝 42原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值
⌂ 换网址