Installing Spotify with latest libgcrypt

With Leap 42.2 it provides the libgcrypt20 package, while Spotify requires libgcrypt11.

Problem: nothing provides libgcrypt.so.11()(64bit) needed by spotify-client-0.9.17.8.gd06432d.31-1.x86_64
Solution 1: do not install spotify-client-0.9.17.8.gd06432d.31-1.x86_64
Solution 2: break spotify-client-0.9.17.8.gd06432d.31-1.x86_64 by ignoring some of its dependencies

Is there a fix for this that doesn’t require me to install an older version of libgcrypt that has libgcrypt.so.11?

I installed the spotify-installer from Packman.
I checked the RPM spec file and could not find a Requires libgcrypt11 in it. So I wonder how it requires it.
/usr/src/packages/SPECS/spotify-client.spec

rpm -qp --requires /home/djviking/rpmbuild/RPMS/x86_64/spotify-client-0.9.17.8.gd06432d.31-1.x
86_64.rpm
libgcrypt.so.11()(64bit)
libgcrypt.so.11(GCRYPT_1.2)(64bit)

It uses the find-requires.sh to find binary package dependencies, in this case it’s linked to libgcrypt.so.11.

No way around it except to install it, you can find RPM’s if you search OBS with libgcrypt11.

It uses /usr/lib/rpm/find-requires
I find it strange why it would “find” libgcrypt11.
There is no reference to this library in find-requires. Nor could I deduce from the this bash script how it got this library.

It isn’t listed anywhere because the requires script analyzes the files in the package to find what it requires, in this particular case /opt/spotify/spotify-client/Data/libcef.so is dynamically linked to libgcrypt.so.11 and thus it’s a “Requirement”.

Then I got libgcrypt11 v1.5.4, was then able to install the spotify client.

Has anyone gotten this to work properly on Linux and OpenSUSE?
Many of the options on the left panel does not work, like Browse, social-feed. The only ones that does work are Top List and Play queue.
Searching does not work.
The music I can find under Top List I am able to play.

At the moment I don’t have a paying subscription. I wanted to check if the Linux client was working before paying any money.
Not sure if that is the reason the client wont behave.


djviking@mintaka:~> spotify 
./spotify: /lib64/libcrypto.so.1.0.0: no version information available (required by ./spotify)
./spotify: /lib64/libssl.so.1.0.0: no version information available (required by ./spotify)
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x7efd14a47a20)" of type `gboolean'
19:29:18.836 I [breakpad.cpp:110                ] Registered Breakpad for product: spotify


19:29:18.838 I [translate.cpp:152               ] Reloading language file
19:29:18.846 I [translate.cpp:152               ] Reloading language file
19:29:18.847 I [breakpad.cpp:269                ] Searching for crashdumps: /home/djviking/.cache/spotify/*.dmp


LaunchProcess: failed to execvp:
/opt/spotify/spotify-client/spotify:
                                    �m�/Data/SpotifyHelper
19:29:21.424 I [session_auth_token_manager.cpp:235] CSRF domain='*.spotify.com' csrf_hash='bb21ee8bb1468ea5537e2bfc000febe53ec669ff'
19:29:23.224 E [rpc_connection.cpp:1206         ] Socket error 103
19:29:23.594 I [offline_authorizer.cpp:278      ] Unable to login offline: no such user
19:29:23.703 I [ap_connection_impl.cpp:901      ] Connecting to AP sto3-accesspoint-a65.ap.spotify.com:4070
19:29:23.774 I [ap_connection_impl.cpp:530      ] Connected to AP: 193.182.7.162:4070
19:29:23.867 E [storage.cpp:3323                ] Storage error: realm: -1, file: 0000000000000000000000000000000000000000, error: 718, OS error: 61, count: 1
19:29:24.185 E [local_file_manager.cpp:2304     ] Unable to load local-files.bnk, error 24
19:29:24.186 E [offline_key_store.cpp:77        ] Offline: failed to load key stores, error 7007, path /home/djviking/.cache/spotify/Users/11130703069-user/offline2
19:29:24.187 E [offline_key_store.cpp:77        ] Offline: failed to load key stores, error 7007, path /home/djviking/.cache/spotify/Users/11130703069-user/cached
19:29:24.188 D [spirc_manager.cpp:230           ] GAIA: SpircManager::SpircManager, ident_=342cf4579c6722549e5d50c46b5fc3a463cde406
LaunchProcess: failed to execvp:




LaunchProcess: failed to execvp:
/opt/spotify/spotify-client/spotify:
                                    �m�/Data/SpotifyHelper
19:29:24.237 3 [playlist_be_pl4_context.cpp:405 ] [spotify:user:11130703069:rootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
19:29:24.254 I [AppManager.cpp:258              ] Creating instance of the application browse.
19:29:24.257 I [AppManager.cpp:258              ] Creating instance of the application suggest.
19:29:24.259 I [AppManager.cpp:258              ] Creating instance of the application notification-center.
19:29:24.259 I [AppManager.cpp:541              ] Removing instance of application notification-center.


19:29:24.260 I [AppManager.cpp:258              ] Creating instance of the application notification-center.
19:29:24.271 E [rpc_connection.cpp:1206         ] Socket error 103
19:29:24.284 3 [playlist_be_pl4_context.cpp:405 ] [spotify:user:11130703069:collectionrootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
19:29:24.450 I [AppManager.cpp:258              ] Creating instance of the application feed.
19:29:24.451 3 [playlist_be_pl4_context.cpp:405 ] [spotify:user:11130703069:publishedrootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
19:29:24.504 3 [playlist_be_pl4_context.cpp:1002] [spotify:user:11130703069:rootlist] Snapshot-updated to revision 0,726f6f7400000000000000000000000000000000
19:29:24.504 3 [playlist_be_pl4_context.cpp:1002] [spotify:user:11130703069:collectionrootlist] Snapshot-updated to revision 0,726f6f7400000000000000000000000000000000
19:29:24.574 3 [playlist_be_pl4_context.cpp:1002] [spotify:user:11130703069:publishedrootlist] Snapshot-updated to revision 0,726f6f7400000000000000000000000000000000
19:29:24.617 3 [playlist_be_toplist.cpp:233     ] [spotify:user:11130703069:top:tracks] Synchronization starting
[0323/202924:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:29:24.623 I [MainView.cpp:6828               ] Load complete (0) url: 
[0323/202924:ERROR:child_process_launcher.cc(326)] Failed to launch child process
[0323/202924:ERROR:child_process_launcher.cc(326)] Failed to launch child process
[0323/202924:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:29:24.625 I [MainView.cpp:6828               ] Load complete (0) url: 
19:29:24.766 3 [playlist_be_toplist.cpp:215     ] [spotify:user:11130703069:top:tracks] Toplist failed to update
19:29:24.816 3 [playlist_be_pl4_context.cpp:405 ] [spotify:user:11130703069:inbox] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
19:29:24.887 3 [playlist_be_pl4_context.cpp:1002] [spotify:user:11130703069:inbox] Snapshot-updated to revision 0,726f6f7400000000000000000000000000000000
19:29:43.537 3 [playlist_be_toplist.cpp:233     ] [spotify:user:11130703069:top:tracks] Synchronization starting
19:29:43.608 3 [playlist_be_toplist.cpp:215     ] [spotify:user:11130703069:top:tracks] Toplist failed to update
19:29:44.133 I [ApplicationPage.cpp:185         ] Keeping application browse alive for 60000 ms.
19:29:44.134 I [AppManager.cpp:258              ] Creating instance of the application profile.
[0323/202944:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:29:44.162 I [MainView.cpp:6828               ] Load complete (0) url: 
19:29:44.361 I [ad_chooser.cpp:1251             ] Found ad (time = 1490297384, adclass = 'full banner', time left = 30, length = 30)
[0323/202944:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:29:44.365 I [MainView.cpp:6828               ] Load complete (0) url: 
19:30:03.670 I [ApplicationPage.cpp:185         ] Keeping application profile alive for 60000 ms.
19:30:05.370 I [ApplicationPage.cpp:185         ] Keeping application browse alive for 60000 ms.
19:30:05.371 I [AppRunner.cpp:152               ] social-feed: not installed
19:30:05.371 I [AppRunner.cpp:390               ] social-feed: installing app
19:30:05.371 I [AppRunner.cpp:416               ] social-feed (version 0.0.0): metadata query started
19:30:05.371 I [AppManager.cpp:258              ] Creating instance of the application install.
[0323/203005:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:30:05.378 I [MainView.cpp:6828               ] Load complete (0) url: 
19:30:05.413 I [AppRunner.cpp:416               ] social-feed (version 0.0.0): metadata query failed
19:30:05.414 E [AppRunner.cpp:168               ] social-feed could not be loaded: Not Installed - Application is not installed
19:30:05.414 I [AppManager.cpp:258              ] Creating instance of the application error.
[0323/203005:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:30:05.420 I [MainView.cpp:6828               ] Load complete (0) url: 
19:30:06.361 I [ad_chooser.cpp:1251             ] Found ad (time = 1490297406, adclass = 'full banner', time left = 0, length = 30)
[0323/203006:ERROR:child_process_launcher.cc(326)] Failed to launch child process
19:30:06.364 I [MainView.cpp:6828               ] Load complete (0) url: 
19:30:13.279 I [ApplicationPage.cpp:185         ] Keeping application social-feed alive for 60000 ms.
19:30:13.280 I [AppManager.cpp:258              ] Creating instance of the application radio.
[0323/203013:ERROR:child_process_launcher.cc(326)] Failed to launch child process

I started the application again today. It seems to work fine now. All pages in the sidebar are loading with content. Lets hope it stays that way.