I recently switched from Fedora to OpenSuse Leap on my home office PC. I’ve been a Fedora user for a couple of years but had primarily used SUSE for a long time prior to that. Purchasing a new M2 SSD for my PC gave me the chance to get back to my SUSE desktop roots and switch back. Everything worked flawlessly with the exception of installing the Spotify desktop client. I use Spotify all day while working from home and hate having to keep a Firefox window open for the web player. Here is how I got it up and running. Its a bit hacky and really should be easier to do but it works.
1st thing you need to do is follow the instructions at this github page to install the Spotify bits. It will install but if you try and run /usr/bin/spotify, it’ll error out on missing libraries. I did a bit of searching for package requirements and couldn’t find much out there so I started looking at the specific error. It turns out that Spotify wants some libraries that aren’t available in Leap 42.3 packages so we have to get them elsewhere. Luckily, Steam uses the very same libraries we are missing! I installed Steam because I love playing Civilization 6 on Linux but it just happens to also help me load Spotify.
Here is what you need to do to get the libraries properly linked so Spotify will load.
sudo ln -s /home/$USER/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 libcurl-gnutls.so.4
sudo ln -s /home/$USER/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgnutls.so.26 libgnutls.so.26
sudo ln -s /home/$USER/local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcrypt.so.11 libgcrypt.so.11
sudo ln -s /home/$USER/local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/librtmp.so.0 librtmp.so.0
sudo ln -s /home/$USER/local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libtasn1.so.3 libtasn1.so.3
Once I linked up those libraries, I was able to get Spotify to load without issue. I’ve been using it for a few days and haven’t ran into any issues.