- 浏览: 285957 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (298)
- Tomcat (3)
- ZooKeeper (1)
- Maven (11)
- opensource (1)
- DataBase (5)
- UML (8)
- linux (87)
- Java (32)
- 算法 (3)
- Redis (1)
- HBase (2)
- 产品 (1)
- 模板引擎 (1)
- Eclipse (10)
- JUnit (5)
- Log4j (8)
- XML (2)
- JSON (1)
- SpringMVC (23)
- Spring (24)
- TCP/IP (4)
- Windows (10)
- Web Service (1)
- 源码版本管理 (1)
- Word (1)
- Test (1)
- Mybatis (7)
- CentOS (2)
- 多线程 (2)
- Web (7)
- Servlet (3)
- JavaWeb (4)
- MySQL (7)
- 汇编语言 (2)
- linux Shell (4)
- GIT (4)
- Python (1)
- 并发 (4)
- 编程通用 (1)
- JavaScript (1)
- 异常 (3)
- 自动化部署 (1)
- 大数据 (1)
- hive (2)
- 文本编辑器 (2)
- MINA (0)
- intellij IDEA (9)
- masm (0)
- blockchain (1)
- docker (2)
- IDEA (0)
- GO (3)
- nginx (1)
- springBoot (3)
- Websocket (2)
- macOS (1)
最新评论
-
woodding2008:
ss –pl 可以查看监听方式启动的端口以及pid
根据端口查PID,根据PID查进程名称 -
masuweng:
恩很试用,也很常用。
linux 常用命令
libssl.so.10: cannot open shared object file: No such file or directory
- 博客分类:
- linux
yum 安装不管用了,先执行了 yum remove openssl命令导致的。卸载日志见《yum remove openssl 卸载日志.txt》
紧接着有运行了如下命令:
[root@hadoop jengined-1.7.2]# rpm -q -a|grep openssl
openssl-1.0.1e-15.el6.x86_64
openssl-devel-1.0.1e-15.el6.x86_64
[root@hadoop jengined-1.7.2]# rpm -e openssl-devel-1.0.1e-15.el6.x86_64 --nodeps
[root@hadoop jengined-1.7.2]# rpm -e openssl-1.0.1e-15.el6.x86_64 --nodeps
[root@hadoop jengined-1.7.2]# rpm -q -a|grep openssl
[root@hadoop jengined-1.7.2]#
彻底删除openssl
之后,yum中提示:libssl.so.10: cannot open shared object file: No such file or directory
解决问题如下:
[root@hadoop jengined-1.7.2]# yum install openssl-1.0.1e-15.el6.x86_64
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libssl.so.10: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[root@hadoop jengined-1.7.2]#
(1)下载
https://www.openssl.org/source/old/1.0.1/openssl-1.0.1e.tar.gz
执行./config shared zlib-dynamic 来生成Makefile文件。
通过make来生成生成libssl.so.1.0.0和libcrypto.so.1.0.0
(2)编译
[root@hadoop jengined-1.7.2]# ./config shared zlib-dynamic
[root@hadoop jengined-1.7.2]# make
提示错误
make[4]: *** [link_a.gnu] Error 1
。。。
原来是因为重新make时没有进行make clean造成,先进行make clean后再执行上述操作,问题解决。
[root@hadoop jengined-1.7.2]# make clean
[root@hadoop jengined-1.7.2]# make
(3)查找生成的so文件
[root@hadoop openssl-1.0.1e]# find . -name 'libssl.so*'
./libssl.so.1.0.0
./libssl.so
[root@hadoop openssl-1.0.1e]# find . -name 'libcrypto*'
./libcrypto.a
./libcrypto.pc
./libcrypto.so.1.0.0
./libcrypto.so
[root@hadoop openssl-1.0.1e]#
(4)生成软连接
复制文件到指定路径
[root@hadoop openssl-1.0.1e]# cp libcrypto.so.1.0.0 libssl.so.1.0.0 /usr/lib64/
创建软连接
[root@hadoop openssl-1.0.1e]# ln -s /usr/lib64/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.10
[root@hadoop openssl-1.0.1e]# ln -s /usr/lib64/libssl.so.1.0.0 /usr/lib64/libssl.so.10
检查一下,是否连接成功
[root@hadoop openssl-1.0.1e]# ll /usr/lib64/libcry*
lrwxrwxrwx. 1 root root 29 Aug 15 14:43 /usr/lib64/libcrypto.so.10 -> /usr/lib64/libcrypto.so.1.0.0
-rwxr-xr-x. 1 root root 2202868 Aug 15 14:37 /usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx. 1 root root 25 Mar 8 2016 /usr/lib64/libcrypt.so -> ../../lib64/libcrypt.so.1
[root@hadoop openssl-1.0.1e]# ll /usr/lib64/libssl*
-rwxr-xr-x. 1 root root 246584 Nov 24 2013 /usr/lib64/libssl3.so
lrwxrwxrwx. 1 root root 26 Aug 15 14:43 /usr/lib64/libssl.so.10 -> /usr/lib64/libssl.so.1.0.0
-rwxr-xr-x. 1 root root 477476 Aug 15 14:37 /usr/lib64/libssl.so.1.0.0
[root@hadoop openssl-1.0.1e]#
最后测试yum是否成功
[root@hadoop openssl-1.0.1e]# yum search openssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
==================================================== N/S Matched: openssl =====================================================
openssl-devel.i686 : Files for development of applications which will use OpenSSL
openssl-devel.x86_64 : Files for development of applications which will use OpenSSL
openssl-perl.x86_64 : Perl scripts provided with OpenSSL
openssl-static.x86_64 : Libraries for static linking of applications which will use OpenSSL
perl-Crypt-OpenSSL-Bignum.x86_64 : Perl interface to OpenSSL for Bignum
perl-Crypt-OpenSSL-RSA.x86_64 : Perl interface to OpenSSL for RSA
perl-Crypt-OpenSSL-Random.x86_64 : Perl interface to OpenSSL for Random
pyOpenSSL.x86_64 : Python wrapper module around the OpenSSL library
krb5-pkinit-openssl.x86_64 : The PKINIT module for Kerberos 5
m2crypto.x86_64 : Support for using OpenSSL in python scripts
nss_compat_ossl.i686 : Source-level compatibility library for OpenSSL to NSS porting
nss_compat_ossl.x86_64 : Source-level compatibility library for OpenSSL to NSS porting
openssl.i686 : A general purpose cryptography library with TLS implementation
openssl.x86_64 : A general purpose cryptography library with TLS implementation
openssl098e.i686 : A compatibility version of a general cryptography and TLS library
openssl098e.x86_64 : A compatibility version of a general cryptography and TLS library
perl-Crypt-SSLeay.x86_64 : Crypt::SSLeay - OpenSSL glue that provides LWP https support
perl-Net-SSLeay.x86_64 : Perl extension for using OpenSSL
qca-ossl.i686 : OpenSSL plugin for the Qt Cryptographic Architecture v2
qca-ossl.x86_64 : OpenSSL plugin for the Qt Cryptographic Architecture v2
Name and summary matches only, use "search all" for everything.
[root@hadoop openssl-1.0.1e]#
至此,成功!!!
紧接着有运行了如下命令:
[root@hadoop jengined-1.7.2]# rpm -q -a|grep openssl
openssl-1.0.1e-15.el6.x86_64
openssl-devel-1.0.1e-15.el6.x86_64
[root@hadoop jengined-1.7.2]# rpm -e openssl-devel-1.0.1e-15.el6.x86_64 --nodeps
[root@hadoop jengined-1.7.2]# rpm -e openssl-1.0.1e-15.el6.x86_64 --nodeps
[root@hadoop jengined-1.7.2]# rpm -q -a|grep openssl
[root@hadoop jengined-1.7.2]#
彻底删除openssl
之后,yum中提示:libssl.so.10: cannot open shared object file: No such file or directory
解决问题如下:
[root@hadoop jengined-1.7.2]# yum install openssl-1.0.1e-15.el6.x86_64
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libssl.so.10: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[root@hadoop jengined-1.7.2]#
(1)下载
https://www.openssl.org/source/old/1.0.1/openssl-1.0.1e.tar.gz
执行./config shared zlib-dynamic 来生成Makefile文件。
通过make来生成生成libssl.so.1.0.0和libcrypto.so.1.0.0
(2)编译
[root@hadoop jengined-1.7.2]# ./config shared zlib-dynamic
[root@hadoop jengined-1.7.2]# make
提示错误
make[4]: *** [link_a.gnu] Error 1
。。。
原来是因为重新make时没有进行make clean造成,先进行make clean后再执行上述操作,问题解决。
[root@hadoop jengined-1.7.2]# make clean
[root@hadoop jengined-1.7.2]# make
(3)查找生成的so文件
[root@hadoop openssl-1.0.1e]# find . -name 'libssl.so*'
./libssl.so.1.0.0
./libssl.so
[root@hadoop openssl-1.0.1e]# find . -name 'libcrypto*'
./libcrypto.a
./libcrypto.pc
./libcrypto.so.1.0.0
./libcrypto.so
[root@hadoop openssl-1.0.1e]#
(4)生成软连接
复制文件到指定路径
[root@hadoop openssl-1.0.1e]# cp libcrypto.so.1.0.0 libssl.so.1.0.0 /usr/lib64/
创建软连接
[root@hadoop openssl-1.0.1e]# ln -s /usr/lib64/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.10
[root@hadoop openssl-1.0.1e]# ln -s /usr/lib64/libssl.so.1.0.0 /usr/lib64/libssl.so.10
检查一下,是否连接成功
[root@hadoop openssl-1.0.1e]# ll /usr/lib64/libcry*
lrwxrwxrwx. 1 root root 29 Aug 15 14:43 /usr/lib64/libcrypto.so.10 -> /usr/lib64/libcrypto.so.1.0.0
-rwxr-xr-x. 1 root root 2202868 Aug 15 14:37 /usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx. 1 root root 25 Mar 8 2016 /usr/lib64/libcrypt.so -> ../../lib64/libcrypt.so.1
[root@hadoop openssl-1.0.1e]# ll /usr/lib64/libssl*
-rwxr-xr-x. 1 root root 246584 Nov 24 2013 /usr/lib64/libssl3.so
lrwxrwxrwx. 1 root root 26 Aug 15 14:43 /usr/lib64/libssl.so.10 -> /usr/lib64/libssl.so.1.0.0
-rwxr-xr-x. 1 root root 477476 Aug 15 14:37 /usr/lib64/libssl.so.1.0.0
[root@hadoop openssl-1.0.1e]#
最后测试yum是否成功
[root@hadoop openssl-1.0.1e]# yum search openssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
==================================================== N/S Matched: openssl =====================================================
openssl-devel.i686 : Files for development of applications which will use OpenSSL
openssl-devel.x86_64 : Files for development of applications which will use OpenSSL
openssl-perl.x86_64 : Perl scripts provided with OpenSSL
openssl-static.x86_64 : Libraries for static linking of applications which will use OpenSSL
perl-Crypt-OpenSSL-Bignum.x86_64 : Perl interface to OpenSSL for Bignum
perl-Crypt-OpenSSL-RSA.x86_64 : Perl interface to OpenSSL for RSA
perl-Crypt-OpenSSL-Random.x86_64 : Perl interface to OpenSSL for Random
pyOpenSSL.x86_64 : Python wrapper module around the OpenSSL library
krb5-pkinit-openssl.x86_64 : The PKINIT module for Kerberos 5
m2crypto.x86_64 : Support for using OpenSSL in python scripts
nss_compat_ossl.i686 : Source-level compatibility library for OpenSSL to NSS porting
nss_compat_ossl.x86_64 : Source-level compatibility library for OpenSSL to NSS porting
openssl.i686 : A general purpose cryptography library with TLS implementation
openssl.x86_64 : A general purpose cryptography library with TLS implementation
openssl098e.i686 : A compatibility version of a general cryptography and TLS library
openssl098e.x86_64 : A compatibility version of a general cryptography and TLS library
perl-Crypt-SSLeay.x86_64 : Crypt::SSLeay - OpenSSL glue that provides LWP https support
perl-Net-SSLeay.x86_64 : Perl extension for using OpenSSL
qca-ossl.i686 : OpenSSL plugin for the Qt Cryptographic Architecture v2
qca-ossl.x86_64 : OpenSSL plugin for the Qt Cryptographic Architecture v2
Name and summary matches only, use "search all" for everything.
[root@hadoop openssl-1.0.1e]#
至此,成功!!!
发表评论
-
sed 字符串替换
2018-04-03 19:15 787https://www.cnblogs.com/linux- ... -
连接到Hyperledger的docker容器内部
2018-03-12 21:02 852=============================== ... -
apt-get常用命令及工作原理
2018-03-12 20:17 483http://blog.csdn.net/mosquito_z ... -
Linux Shell 通配符、转义字符、元字符、特殊字符
2017-01-13 18:50 1664一、Linux shell通配符(wildcard) 通配 ... -
Linux单机TCP并发连接
2016-12-28 14:11 913http://blog.csdn.net/kobejayand ... -
单机最大tcp连接数
2016-12-28 13:50 526from: http://www.cnblogs.com/my ... -
linux后台运行和关闭、查看后台任务
2016-12-15 17:09 665from: http://www.cnblogs.com/k ... -
sh脚本异常:/bin/sh^M:bad interpreter: No such file or directory
2016-12-15 17:07 406from http://myswirl.blog.163 ... -
Shell 脚本
2016-12-12 15:22 7961 如何在shell脚本中判断文件或者文件夹是否存在? if ... -
CentOS7 安装python 命令 : yum install python
2016-12-09 17:53 872CentOS7 安装python 命令 : yum insta ... -
linux 目录下的文件个数
2016-12-07 12:44 453linux里没有直接的命令来展示一个目录下的文件个数,可以通过 ... -
grep -v grep
2016-12-06 11:18 1107grep -v <**> <filename ... -
IT技术学习指导之Linux系统入门的4个阶段
2016-12-05 22:36 481http://www.cnbeta.com/articles ... -
Linux 命令參數帶&符合,需要轉義 \
2016-12-04 21:38 418比如新建文件夾 aaa&bbb 命令 mkd ... -
Linux Shell编程中的几个特殊符号命令 & 、&& 、 ||
2016-12-04 21:35 795一、& 放在启动参数后面表示设置此进程为后台进程 ... -
CentOS 7.0 安装中文输入法
2016-12-04 00:33 517安装的时候没有设置,现在找到之后记录下: (我这个是 ... -
Linux下常用压缩格式的压缩与解压方法
2016-12-02 22:25 461日期:2005-01-20 来源: LinuxByte ... -
Shell脚本8种字符串截取方法总结
2016-12-02 19:56 449这篇文章主要介绍了Shell脚本8种字符串截取方法总结,每个方 ... -
CentOS 7自动以root身份登录gnome桌面
2016-11-29 18:31 2142from: http://blog.csdn.net/zd ... -
deb to rpm ; rpm to deb
2016-11-29 10:21 615deb后缀的软件包是for Debian系的(包括Ubuntu ...
相关推荐
libssl.so.10缺失库文件的解决办法,error while loading shared libraries :libssl.so.10:cannot open shared object file:No such file or directory
bedGraphToBigWig: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory 就将使用root用户,将这两个文件放到/usr/lib64/ 或则使用: ln -s /usr/...
openssl升级后libssl.so.10缺失问题 解决办法:从其他系统的/usr/lib64 下拷贝以下两个文件止当前系统 libssl.so.10 libcrypto.so.10
centos7.0安装yum客户端是提示libcrypto.so.1.0.0: cannot open shared object file: No such file or directory,将库文件放到/var/lib64/下面
找了半天不容易,方便大家使用上传这两个库吧,有需要的把 libssl.so.10 libcrypto.so.10 直接放在/usr/bin 下即可。
libssl.so.6 libssl.so.0.9.8b 提供此so文件,供下载~~
libssl.so.1.0.0
libssl.so.1.1系统升级所需,本人因需要libso.1.1.1所以需要lib.so.1.1.1有人有的话请发个链接
Linux操作系统CentOS7中下载下来的so文件,包含libcrypto.so.6 、libexpat.so.0 、libssl.so.6三个文件
为解决Qt for android弹窗提示Detected problems with app native libraries (please consult log for detail),具体请看博客:https://blog.csdn.net/CLinuxF/article/details/80404625
Ubuntu20.04缺少libssl.so.1.0.0:cannot open shared object file:No such file or directory
sshd: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory 解决方法,做软链接: #cd /usr/lib64/ #ln -s libcrypto.so.1.0.0 libcrypto.so.10 #...
openssl-1.1.1q的libcrypto.so.1.1、libssl.so.1.1库文件
NULL 博文链接:https://lzqustc.iteye.com/blog/1820927
libcrypto.so && libssl.so ---> arm64-v8a,armeabi,armeabi-v7a,mips,x86,x86_64
当在linux上提示libssl.so版本过低或没有libssl.so时,将其下载到/usr/lib下并建立软连接 ln -s /usr/lib/libssl.so.1.1 /usr/lib/libssl.so ln -s /usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so 即可
解决ImportError: libcrypto.so.10: cannot open shared object file: No such file or directory 的链接库文件
runtime library [libssl.so.1.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/rw/anaconda3/lib 首先查看路径,可以看到返回结果中,第一个查找路径是anaconda的。 export $PATH bash: export...