Apr 24, 2015

Fix Missing libgcrypt11 Causing Spotify, Brackets And Other Apps Not To Work / Install In Ubuntu 15.04

In Ubuntu 15.04 Vivid Vervet, libgcrypt11 is no longer available in the repositories (it uses libgcrypt20 only) and some applications like Spotify, Brackets and others cannot be installed or they don't run unless libgcrypt11 installed:
$ spotify
spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
$ sudo dpkg -i Brackets.1.2.Extract.64-bit.deb
dpkg: dependency problems prevent configuration of brackets:
brackets depends on libgcrypt11 (>= 1.4.5); however:
Package libgcrypt11 is not installed.

dpkg: error processing package brackets (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Errors were encountered while processing:

Until these third-party application fix this issue and provide builds that either don't depend on libgcrypt11 or they ship their debs with the libgcrypt11.so library so they work properly in Ubuntu 15.04 Vivid Vervet, here's a quick fix/workaround.

I should mention that this only affects fresh installs of the final Ubuntu 15.04 release. I installed Ubuntu 15.04 while it was still in alpha and because of this, I already had libgcrypt11 installed on my system so I didn't notice the issue until it was reported by a few WebUpd8 readers (thanks to Ian Watters, Patrick and Lulzim for the comments regarding this!).

To be able to use Spotify, Brackets and others in Ubuntu 15.04, all you have to do is install libgcrypt11 from Ubuntu 14.04:

Or grab libgcrypt11 debs for any architecture from HERE.

Important: on 64bit, you may also need to install the 32bit package if the app that requires libgcrypt11 uses a multiarch package.

Once installed, Spotify, Brackets, etc. should work under Ubuntu 15.04:

Spotify Ubuntu 15.04
Brackets note: this issue occurs with the official Brackets debs but not with the Brackets version from the WebUpd8 Brackets PPA (I fixed this issue for the PPA packages today).

via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1EyRMWO