Previous post:
http://www.guldmyr.com/blog/how-to-update-spotify-on-rhel6-x64-native-client/
Installed spotify-client-0.8.2.637.g252b980.486-2.x86_64.rpm – this is converted from the .deb package that is downloaded from: http://repository.spotify.com/pool/non-free/s/spotify/
you convert with ‘alien’ and this command:
alien --to-rpm spotify-client_0.8.2.637.g252b980.486-1_amd64.deb
To install you need to uninstall first:
rpm -ev spotify-client rpm -ivh Downloads/Spotify/spotify-client-0.8.2.637.g252b980.486-2.x86_64.rpm error: Failed dependencies: libcef.so()(64bit) is needed by spotify-client-0.8.2.637.g252b980.486-2.x86_64 libcrypto.so.0.9.8()(64bit) is needed by spotify-client-0.8.2.637.g252b980.486-2.x86_64 libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by spotify-client-0.8.2.637.g252b980.486-2.x86_ libssl.so.0.9.8()(64bit) is needed by spotify-client-0.8.2.637.g252b980.486-2.x86_64 libssl.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by spotify-client-0.8.2.637.g252b980.486-2.x86_64
OK, that didn’t work so well.
Install:
# rpm -ivh --nodeps Downloads/Spotify/spotify-client-0.8.2.637.g252b980.486-2.x Preparing... ########################################### [100%] 1:spotify-client ########################################### [100%]
You’ll get errors while trying to start spotify:
spotify spotify: error while loading shared libraries: libnss3.so.1d: cannot open shared object file: No such file
What you need to do is create symlinks:
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 yum -y install nspr nspr-devel ln -s /usr/lib64/libplc4.so /usr/lib64/libplc4.so.0d ln -s /usr/lib64/libnspr4.so /usr/lib64/libnspr4.so.0d
However, it still crashes when I try to right-click on an app – but now it has apps :)
I’m on OpenSUSE 12.1 and it’s ok for me. Thank you ;-)
Hey … I have it working under CentOS 6.2! Check it out and see if it works.
http://centosn00b.blogspot.com/2012/05/spotify-on-centos-6.html
Thanks Anders.
His page includes downloading an archive from his personal dropbox that supposedly has some libraries inside. Use at your own risk?
Btw, I put it in the Dropbox public folder, since it’s by far the easiest way to upload and distribute things for me.
Works for Fedora 16 to get the program started, except:
/usr/lib64/libplc4.so
/usr/lib64/libnspr4.so
…was actually:
/lib64/libplc4.so
/lib64/libnspr4.so
Also, I skipped installing nspr-devel (nspr was already installed). Not sure what I’d need that for.
Now I have another issue… the songs won’t play.
=) Cool!
Guess they’ve started changing things in Fedora quite a lot.
Sounds strange! Nothing happens at all?
On my RHEL 6.2 the following is the output of “ldd /usr/bin/spotify” :
http://guldmyr.com/spot.ldd.txt
maybe that can help.
It seems the issue with songs not wanting to play solved itself, as I can now play tracks with no issues.
Only thing I can think of having fixed this is having rebooted my machine. I also shut down my Facebook account since last time I tried it but it seems odd if that should’ve affected the ability to play tracks.
Just to clarify, songs wouldn’t play at all (eg. counter not moving when pressing play) as if it couldn’t connect properly to the server (although I could login and see my playlists).
Perhaps there was some issue with the sound service on your machine? Hard to say now though :-) glad you got it working.
Thanks for sharing.