Update / Install Spotify 0.8.2.637 on RHEL6 x64

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 :)

9 thoughts on “Update / Install Spotify 0.8.2.637 on RHEL6 x64

    1. guldmyr Post author

      Thanks Anders.

      His page includes downloading an archive from his personal dropbox that supposedly has some libraries inside. Use at your own risk?

      Reply
  1. Daniel Mårtensson

    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.

    Reply
      1. Daniel I. Mårtensson

        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.

        Reply
        1. Daniel I. Mårtensson

          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).

          Reply
          1. guldmyr Post author

            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.

            Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.