What follows are exact commands for Fedora 17 (Might work with 16 still, not sure), I decided I would post the hoops I jump through to get Spotify running again. In case you don’t know what Spotify is, it’s a music streaming service that for 5$ a month (or FREE with Ads) allows you to stream unlimited music from a very large collection that gets new releases every week.
Below are the commands in the the correct order to run post installation with Desktop chosen with no custom package changes, selinux, and iptables are off.
yum -y install perl-ExtUtils-MakeMaker gcc qt-webkit rpm-build git cd /tmp git clone git://git.kitenet.net/alien cd alien perl Makefile.PL; make; make install cd /tmp wget http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.8.4.103.g9cb177b.260-1_amd64.deb wget http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-gnome-support_0.8.4.103.g9cb177b.260-1_all.deb /usr/local/bin/alien --to-rpm spotify-client_0.8.4.103.g9cb177b.260-1_amd64.deb /usr/local/bin/alien --to-rpm spotify-client-gnome-support_0.8.4.103.g9cb177b.260-1_all.deb ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.0.9.8 ln -s /lib64/libcrypto.so.10 /lib64/libcrypto.so.0.9.8 ln -s /usr/lib64/libnss3.so /usr/lib64/libnss3.so.1d ln -s /usr/lib64/libnssutil3.so /usr/lib64/libnssutil3.so.1d ln -s /usr/lib64/libsmime3.so /usr/lib64/libsmime3.so.1d ln -s /lib64/libplc4.so /lib64/libplc4.so.0d ln -s /lib64/libnspr4.so /lib64/libnspr4.so.0d rpm -Uvh --nodeps spotify-client-*.rpm
That should be all that is needed. You should be able to launch it from the terminal with the command “spotify” or use a Gnome shortcut that should be available after installation.
Many thanks for this: worked like a charm. After a bit of experimentation, it looks like you only need to delete ~/.cache/spotify/offline.bnk to prevent Spotify crashing on startup.
Many thanks for this workaround and the helpful post!
Works for me for Fedora 16 / KDE (via live disc) – thanks!
I agree that erasing ~/.cache/spotify is too much : it deletes a entire file tree : i can’t find ~/.cache/spotify/offline.bnk on my fedora 16_x64.
still waiting for something stable : obliged to virtualize Mint_x64.
Worked for me on Fed 16. Worth noting though, that /usr/lib64/libssl.so.1.0.0e for me was /usr/lib64/libssl.so.1.0.0g (notice end letter). Just may help someone out there 🙂
Pingback: Spotify Beta Preview on Fedora 16 64-bit | PasswdShadow
For Fedora 17 you sould do :
yum install libpng-compat-1.5.10-1.fc17.x86_64
and change the line
“ln -s /usr/lib64/libssl.so.1.0.0g /usr/lib64/libssl.so.0.9.8”
by
“ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.0.9.8”
or
“ln -s /usr/lib64/libssl.so.1.0.0i /usr/lib64/libssl.so.0.9.8”
Thanks for that, I will update the guide when Fedora 17 is final.
Fedora17 is final. You will also need to fix libcrypto. I’d suggest linking against the *.so.10 libraries of libssl and libcrypto.
So instead of
ln -s /usr/lib64/libssl.so.1.0.0g /usr/lib64/libssl.so.0.9.8
ln -s /lib64/libcrypto.so.1.0.0g /lib64/libcrypto.so.0.9.8
do
ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.0.9.8
ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.0.9.8
Also /lib64 is a symlink to /usr/lib64 in f17.
I will try to update the guide when I get time to test this at home. I’ve been having issues getting X up and running on my work laptop (won’t make the mistake of asking for a Mac ever again…) and have been busy with house shopping and father work at home.
Thanks, worked a charm in F17 Gnome with just the small addition of “yum install libpng-compat-1.5.10-1.fc17.x86_64”. Also wget didn’t work for me so I downloaded the files manually and put them in /tmp. Cheers!
Worked for me.
Pingback: Spotify Beta Preview on Fedora 16 64-bit | Mr Robot's Silly Ramblings