Announcements

Help Wizard

Step 1

NEXT STEP

spotify: error while loading shared libraries: libgcrypt.so.11

Solved!

spotify: error while loading shared libraries: libgcrypt.so.11

$ spotify
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:

  • debian jessie/sid
  • kernel 3.16-3-amd64

 

Thank you.

Reply
53 Replies

@Asile
Thanks for the lines, but theres somthing that not right. The command 

 

sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free'
deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Gets broken up in two lines, and returns a error* saying the second deb are a command line it self. removing the 'enter' doens't work either.

Could you be please persuaded the review it again, i'm not not vwery skilled at those repository things.

 

Also there now a file called 'spotify.list' in /etc/apt/sources.list.d/ containing the txt "Error: need a single repository as argument"

But that probartly my messing arround to much. 😉

 

 

*

deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
No command 'deb' found, did you mean:
Command 'debc' from package 'devscripts' (main)
Command 'derb' from package 'icu-devtools' (main)
Command 'xdeb' from package 'xdeb' (universe)
Command 'debi' from package 'devscripts' (main)
Command 'deb3' from package 'quilt' (main)
Command 'dwb' from package 'dwb' (universe)
Command 'dex' from package 'dex' (universe)
Command 'dab' from package 'bsdgames' (universe)
deb: command not found

Marked as solution

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!

 

@JnewbieD  Thank you, I struggled some but could not get i fixed, but your 'echo' fixed it. 

 


And along the way my new Chromacast Audio got delivered, and i almost just cancelled my Spotify subscription.
The desktop client doesn't support Chromacast Audio so unless you have the android app running on you phone so it can pipe it that way, your out of luck.

worked fine for ubuntu 14.04

@Csschsu - Can you cast to 'Chromecast Audio' direcly from spotify-client desktop client without having spotify running at your phone?

Thanks a lot JnewbieD! It worked like a charm 🙂

helped a ton. thanks!

Thanks! Worked for Ubuntu 15


@JnewbieD wrote:
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 for the solution community!

On my system (Debian 3.16.7-ckt11-1+deb8u3) add-apt-repository was not available. I had to install it. I did it this way:

  1. Install apt-file in order to search for the right package (it was not available):
    sudo apt-get install apt-file
  2. Search for the package:
    apt-file search add-apt-repository
    This returned:
    software-properties-common: /usr/bin/add-apt-repository
    software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz
  3. Installed package in which add-apt-repository is contained (here software-properties-common):
    sudo apt-get install software-properties-common

Finally I could continue with line #3 of the code quoted above. At the end I had spotify running!

Hope it helps in case add-apt-repository is not available on your system.

Just tested this in Ubuntu.
Yes, it works with just doing an upgrade; I edited /etc/apt/sources.list.d/spotify.list from 'stable' to 'testing' and then running Software Updater (Settings > Software Updater). Thanks!

I'm glad that it is finally in the pipeline. I'll be glad to see the stable release when it comes.

Works fine on Debian GNU/Linux 8.3 (jessie), missing package xdg-utils but i installed this and works! nice works guys

 

 


@JnewbieD wrote:

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!

 


 

Can verify that the following steps are sufficient:


@sata wrote:

just edit your /etc/apt/sources.list from stable to testing

It should even work with apt-get upgrade without removing it but I didn't try it since I had it uninstalled already.


Suggested posts