Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing libssl0.9.8 on debian 7

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

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?

like image 378
hamedkh Avatar asked Jun 26 '13 19:06

hamedkh


3 Answers

There is a package for 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#
like image 64
Vail Avatar answered Oct 17 '22 07:10

Vail


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 here and manually install it with a command like

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

like image 4
George Ciobanu Avatar answered Oct 17 '22 06:10

George Ciobanu


Recently I had the same issue playing with gitlab. You can try to get 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
like image 1
Vasil Dakov Avatar answered Oct 17 '22 07:10

Vasil Dakov