spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
A recent update depends on libgcrypt11 but debian only has libgcrypt20. Is there a solution to this? Or can I revert somehow?
I am currently running:
Solved! Go to Solution.
Thank you for the reply.
I came up with a similar solution: I downloaded the libgcrypt11 library for Debian Wheezy and installed it via
~# dpkg -i libgcrypt11_1.5.0-5+deb7u1_amd64.deb
Now Spotify works again. However, this should only be treated as a temporary solution, as the upcoming Debian release Jessie will not ship the old version of the library and it generally not a good approach to manually install packages from another (and soon outdated) release.
The new version mentioned above works great! Thanks, MarcosC for linking the new package.
For those wishing to make the switch, you can try the following.
sudo apt-get purge spotify-client sudo apt-get autoremove
sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free'
sudo apt-get update wget http://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_126.96.36.199.gb9e8174a_amd64.deb sudo dpkg -i spotify-client_188.8.131.52.gb9e8174a_amd64.deb spotify &
You're also definitely going to want to get rid of libgcrypt11_1.5.0 unless you wish to enjoy being potentially vulnerable to attacks described here: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5270
Finally some movement!
Thanks for the update MarcosC
Apt repositories exist so you can upgrade your installed software when there is an upgrade path available - without doing any manual steps (other than the upgrade call). This isn't windows. Learn to use your distribution package manager!
just edit your /etc/apt/sources.list from stable to testing
remove the app, then install it with apt-get install spotify-client.
It should even work with apt-get upgrade without removing it but I didn't try it since I had it uninstalled already.
Works without libgcrypt11 though the app only works in fullscreen mode for me. No windowing, or menus for it either. still better though than running unsafe libs 🙂
It is missing the echo command. The correct sequence of commands is
sudo apt-get purge spotify-client sudo apt-get autoremove sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' sudo echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
Thank you again to Asile for found this solution! it works!