加载共享库时出错:libcrypto.so.1

我刚刚在我的VMware中安装了最新的Ubuntu 64位。 我正在运行命令并收到此错误:

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

我做了一个快速搜索,发现了一些解决方案(即安装缺少的lib)和这个 ,但是,当我尝试安装它们时,我已经在最新版本。 我该怎么办?

 ppp@ubuntu:~$ sudo apt-get install libxss1 [sudo] password for ppp: Reading package lists... Done Building dependency tree Reading state information... Done libxss1 is already the newest version (1:1.2.2-1). 0 upgraded, 0 newly installed, 0 to remove and 74 not upgraded. ppp@ubuntu:~$ sudo aptitude search libXss sudo: aptitude: command not found ppp@ubuntu:~$ 

libcrypto.so.1.0.0文件由名为libssl1.0.0的包提供。

因此,要安装提供所需文件的包,请运行:

 sudo apt install libssl1.0.0 

但是,您的应用程序似乎期望它具有不同的名称libssl.so.1 ,这意味着我们必须为其创建一个链接,类似于此处的过程:

 cd /lib/x86_64-linux-gnu sudo ln -s libcrypto.so.1.0.0 libcrypto.so.1