pacman: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Follow @ggarronI run into this problem because I upgraded openssl
After looking at the forums I found the solution. So I will learn from now on, that it is not a good idea to upgrade only some package in Linux.
Arch pacman should take better care about things like this, as they can break the system.
So let's see how to fix it.
sudo pacman -Sy openssl
Alone, so to have pacman working again, run:
cd /usr/lib
And then, make symbolic links
sudo ln -s libssl.so.1.0.0 libssl.so.0.9.8
And another one.
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8
Now install the previous version of openssl.
sudo pacman -U /var/cache/pacman/pkg/openssl-0.9.8l-1-i686.pkg.tar.gz
And upgrade the whole system.
sudo pacman -Syu