- 浏览: 299979 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (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 常用命令
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 828https://www.cnblogs.com/linux- ... -
连接到Hyperledger的docker容器内部
2018-03-12 21:02 899=============================== ... -
apt-get常用命令及工作原理
2018-03-12 20:17 540http://blog.csdn.net/mosquito_z ... -
Linux Shell 通配符、转义字符、元字符、特殊字符
2017-01-13 18:50 1726一、Linux shell通配符(wildcard) 通配 ... -
Linux单机TCP并发连接
2016-12-28 14:11 949http://blog.csdn.net/kobejayand ... -
单机最大tcp连接数
2016-12-28 13:50 562from: http://www.cnblogs.com/my ... -
linux后台运行和关闭、查看后台任务
2016-12-15 17:09 704from: http://www.cnblogs.com/k ... -
sh脚本异常:/bin/sh^M:bad interpreter: No such file or directory
2016-12-15 17:07 439from http://myswirl.blog.163 ... -
Shell 脚本
2016-12-12 15:22 8421 如何在shell脚本中判断文件或者文件夹是否存在? if ... -
CentOS7 安装python 命令 : yum install python
2016-12-09 17:53 910CentOS7 安装python 命令 : yum insta ... -
linux 目录下的文件个数
2016-12-07 12:44 487linux里没有直接的命令来展示一个目录下的文件个数,可以通过 ... -
grep -v grep
2016-12-06 11:18 1146grep -v <**> <filename ... -
IT技术学习指导之Linux系统入门的4个阶段
2016-12-05 22:36 521http://www.cnbeta.com/articles ... -
Linux 命令參數帶&符合,需要轉義 \
2016-12-04 21:38 456比如新建文件夾 aaa&bbb 命令 mkd ... -
Linux Shell编程中的几个特殊符号命令 & 、&& 、 ||
2016-12-04 21:35 822一、& 放在启动参数后面表示设置此进程为后台进程 ... -
CentOS 7.0 安装中文输入法
2016-12-04 00:33 544安装的时候没有设置,现在找到之后记录下: (我这个是 ... -
Linux下常用压缩格式的压缩与解压方法
2016-12-02 22:25 493日期:2005-01-20 来源: LinuxByte ... -
Shell脚本8种字符串截取方法总结
2016-12-02 19:56 484这篇文章主要介绍了Shell脚本8种字符串截取方法总结,每个方 ... -
CentOS 7自动以root身份登录gnome桌面
2016-11-29 18:31 2207from: http://blog.csdn.net/zd ... -
deb to rpm ; rpm to deb
2016-11-29 10:21 648deb后缀的软件包是for Debian系的(包括Ubuntu ...
相关推荐
在Linux系统中,有时在运行某些程序时可能会遇到“error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory”这样的错误提示,这意味着系统缺少名为libssl...
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/...
centos7.0安装yum客户端是提示libcrypto.so.1.0.0: cannot open shared object file: No such file or directory,将库文件放到/var/lib64/下面
在使用MongoDB数据库服务时,有时可能会遇到启动过程中的错误,如"error while loading shared libraries: libstdc++.so.6: cannot open shared object file"。这个错误表明系统缺少一个名为`libstdc++.so.6`的关键...
解决Kylin V10 缺少依赖包,报 error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory 异常,提供安装包以及相关依赖包
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 #...
tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory ``` 这表明系统未能找到必要的共享库`libevent-1.4.so.2`,或者找到了错误的版本。 ...
- 报错示例:`libxcb-icccm.so.4 :cannot open shared object file:No such file or directory` - 解决方法: - 安装相关的 xcb 库: - `yum install xcb-util-wm` - `yum install xcb-util-image` - `yum ...
我用的是ubuntu18.04安装nginx 一般来说我们安装的nginx文件结构大致是这样的: 1. 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 2.... 3.... 4.... 5....
`openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory` 这是因为新的 OpenSSL 版本安装在 `/usr/local` 目录下,而老版本的 OpenSSL 仍然...
当你遇到"ImportError: libcrypto.so.10: cannot open shared object file: No such file or directory"这样的错误时,意味着你的系统中缺少libcrypto库文件或者版本不匹配,导致程序无法正常运行。 OpenSSL是一个...
error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory ``` 这种情况可以通过以下步骤解决: 1. **查找共享库文件**:使用`find`命令查找 `libssl.so.6` ...
bin/mongod: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory ``` **解决方案:** **方案一:** 创建软链接指向系统已有的版本。 ```bash sudo ...