linux - 无法运行新编译的 openssl

标签 linux openssl

我安装了新的 Linux ( Ubuntu Mini Remix 16.04 ) 并执行了以下操作:

sudo apt-get install build-essential
sudo apt-get install git
git clone https://github.com/openssl/openssl.git
cd openssl
./config --openssldir=/usr/local/ssl
make
make test
sudo make install

然后我在 CLI 中输入 openssl 并收到这条消息:

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

最佳答案

也许/usr/local/lib 不在/etc/ld.so.conf 中??如果它只是尝试以不带参数的根身份运行“ldconfig”,如果它不只是添加它并运行“ldconfig”。

关于linux - 无法运行新编译的 openssl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46015764/

相关文章:

linux - 树莓派处于重启循环中

sockets - SSL。它能够从 bsd 套接字添加/删除 ssl 吗?

c - 如何在C中使用openssl从私钥中提取公钥

ruby - 将 PKCS#8 二进制 key 加载到 Ruby 中

android - 如何在 Windows 上的 Crosswalk for Android 中检查 OpenSSL 的版本

c++ - 如何阻止时间在 Linux 上倒退?

linux - scp 文件到 linux 自动将文件名转换为 utf8

linux - 如何进入ubuntu docker容器的bash?

openssl - 这个命令有什么作用? "openssl genrsa -aes256 -out example.key 2048"

linux -/dev/zero还是安全删除?