Linux 在 debian 7 上安装 libssl0.9.8

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17329036/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 23:18:58  来源:igfitidea点击:

installing libssl0.9.8 on debian 7

linuxdebianlibssl

提问by hamedkh

I'm trying to install uTorrent on debian 7 but every time I tried to run it got this error message :

我正在尝试在 debian 7 上安装 uTorrent,但每次我尝试运行它时都会收到以下错误消息:

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

I think that it no longer available on debian repository. I've tried to make some symlink to solve the problem, but again get the same message. how can I solve this problem?

我认为它在 debian 存储库上不再可用。我试图制作一些符号链接来解决问题,但再次得到相同的消息。我怎么解决这个问题?

回答by George Ciobanu

On Debian 7 you can find only libssl1.0.0, but libssl0.9.8 is part of debian 6 (squeeze). You can get the packet from hereand manually install it with a command like

在 Debian 7 上,您只能找到 libssl1.0.0,但 libssl0.9.8 是 debian 6 (squeeze) 的一部分。您可以从这里获取数据包并使用以下命令手动安装它

dpkg -i libssl0.9.8_0.9.8o-4squeeze14_i386.deb

For 64 bits architecture, you need the 32 bits libc and zlib1g binaries before installing it, because utorrent binaries are actually available for 32 bits only. In order to add them you need to add i386 architecture dpkg --add-architecture i386, add [arch=amd64,i386] to repositories in /etc/apt/sources.list. For details, see http://wiki.debian.org/Multiarch/HOWTO. You then need to run apt-get update; apt-get install libc6:i386 zlib1g:i386

对于 64 位架构,安装之前需要 32 位 libc 和 zlib1g 二进制文件,因为 utorrent 二进制文件实际上仅适用于 32 位。为了添加它们,您需要添加 i386 架构dpkg --add-architecture i386,将 [arch=amd64,i386] 添加到 /etc/apt/sources.list 中的存储库。有关详细信息,请参阅http://wiki.debian.org/Multiarch/HOWTO。然后你需要运行apt-get update; apt-get install libc6:i386 zlib1g:i386

回答by Vasil Dakov

Recently I had the same issue playing with gitlab. You can try to get libssl.so.0.9.8:

最近我在玩 gitlab 时遇到了同样的问题。您可以尝试获取 libssl.so.0.9.8:

wget http://snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-7_i386.deb

and then to install it:

然后安装它:

sudo dpkg -i libssl0.9.8_0.9.8o-7_i386.deb

回答by Vail

There is a package for amd64

有一个 amd64 的包

http://snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-7_amd64.deb

and then install it:

然后安装它:

root@07:/etc/php5/fpm/conf.d# dpkg -i libssl0.9.8_0.9.8o-7_amd64.deb
Selecting previously unselected package libssl0.9.8.
(Reading database ... 120511 files and directories currently installed.)
Unpacking libssl0.9.8 (from libssl0.9.8_0.9.8o-7_amd64.deb) ...
Setting up libssl0.9.8 (0.9.8o-7) ...

root@07:/etc/php5/fpm/conf.d# php -v
PHP 5.4.4-14+deb7u2 (cli) (built: Jun  5 2013 07:56:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
    with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend Technologies
root@07:/etc/php5/fpm/conf.d#

回答by ShazbotTKC

I had the same problem in Ubuntu 12.04 and installing this fixed it for me.

我在 Ubuntu 12.04 中遇到了同样的问题,安装它为我解决了这个问题。

sudo apt-get install ia32-libs