Did you really deleted the real .so file or only the soft link which pointed to real .so file, so can the library creators dinamically refresh libraries whitour recompile all of programs in system.
if you deleted only the softlink, let's find it!
Use
find /usr/lib | grep libssl
to locate the real .so file, if you finded it, recreate the soft link with:
ln /usr/lib/path/to/real/libssl /lib/libssl.so.10
Maybe the programs (now: apt-get) try to reach the shared libraries in a specified path, which compiled into the program, locate your program with:
which apt-get
(my result is: /usr/bin/apt-get)
and find in the program the "potential" shared libraries locations with:
strings /path/to/your/program
(my result is:
/lib64/ld-linux-x86-64.so.2
libapt-pkg.so.4.12
libutil.so.1
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
__libc_start_main
install - Install new packages (pkg is libc6 not libc6.deb)
)
aha it's use statically /lib64/ld-linux-x86-64.so.2
(Looks like my apt-get compiled whitout libssl)
Let's give a try!
Best Answer
Chances are, I bet you are running on a 64-bit Linux installation, and you have a 32-bit version of your rar utility. If you are on a Red Hat / Fedora distro, you can
yum install libgcc.i686
to install the 32-bit libgcc version. 32-bit libraries go under /lib and /usr/lib, whereas 64-bit ones are under /lib64 and /usr/lib64.