Anda di halaman 1dari 2

!!!NOTE BEFORE ATTEMPTING!!!

: These instructions have only been proven for the openSUSE


Tumbleweed (20160822) (i586) release, and using spotify-client_0.9.4.183.g644e24e.4281_i386.deb as the pre-converted debian spotify package (over a Compaq HP nw8440 hardware
platform if that matters).
I cannot guarentee that you will experience the same level of success with any other openSUSE or
spotify debian package release than the ones mentioned above.
1. Use the leamas/spotify-make to build the libraries that spotify needs (which you may not be
able to locate on your original install of TumbleWeed)
a. REFERENCE: https://github.com/leamas/spotify-make
i. $ git clone https://github.com/leamas/spotify-make.git
ii. $ cd spotify-make
iii. $ ./configure user
iv. $ make download
v. $ make install
1. # note this one may fail with make: *** [Makefile:76:
unpack] Error 1, though its okay, we just need to go
through the motions here, we are not actually going to
use spotify-make thoroughly.
vi. $ make register
2. Follow the steps outlined here in Max Gonzihs blog to convert the spotify
a. REFERENCE: http://blog.gonzih.me/blog/2014/05/27/installing-spotify-linux-beta-onopensuse-13-dot-1/
i. Install alien (perl scripts for converting packages).
ii. Download deb from spotify repository, pay attention to architecture.
iii. Convert deb -> rpm by running sudo alien --scripts -r spotify*.deb.
iv. Install rpm sudo zypper in spotify*.rpm.
1. At a certain point you will receive the following message:
Problem: nothing provides libcrypto.so.0.9.8(OPENSSL_0.9.8) needed by
spotify-client-0.9.4.183.g644e24e.428-2.i386
Solution 1: do not install spotify-client-0.9.4.183.g644e24e.428-2.i386
Solution 2: break spotify-client-0.9.4.183.g644e24e.428-2.i386 by ignoring
some of its dependencies
2. Select option 2.
3. For this next step, if you wish to understand the backend of what libraries are needed, you may
install mlocate and follow the instructions below, otherwise skip to step 4.
a. REFERENCE: https://forums.opensuse.org/showthread.php/517006-Mongodb-3-0-11-willcomplain-about-nothing-provides-libcrypto-so-0-9-8
i. sudo zypper in mlocate

ii.

sudo updatedb

iii. run the command spotify


iv. For each missing library you receive, use locate <missing
libssl.so.0.9.8> to see where that file might exist.

library file e.g.

1. Once you find a specific library, you may need to either


copy cp that library to the /usr/lib (32-bit) directory
symlink ln -s that library to another existing version (in case you do not find
the actual library file)
4. Per step 3, I had ultimately concluded that I needed to do the following to resolve the missing
library dependencies for my spotify build
a. sudo cp libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.8
b. sudo cp libssl.so.0.9.8 /usr/lib/libssl.so.0.9.8
c. sudo ln -s /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d

5. At this point I was able to re-test the spotify command, which brought up the spotify login
screen and I was able to open up spotify.
a. At this point, you may wish to convert that spotify command into a desktop shortcut, thus
the below referenced link, can help you do that (depending on whether you use GNOME or
KDE)
i. http://xmodulo.com/create-desktop-shortcut-launcher-linux.html
b. EDIT: I think somehow either via the spotify-make or actual running of the spotify-client
automatically created a Spotify desktop application icon for me.

Happy Spotify-ing all ;)

Anda mungkin juga menyukai