LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Install Spotify for Linux on Slackware 13.37 (http://www.linuxquestions.org/questions/slackware-14/install-spotify-for-linux-on-slackware-13-37-a-940421/)

rkfb 04-18-2012 04:52 AM

Install Spotify for Linux on Slackware 13.37
 
There are new debs available at:

http://repository.spotify.com/pool/non-free/s/spotify/

(dated 26 Mar 2012)

Being on Slackware64 I used spotify-client_0.8.2.639.g79d339d.504-1_amd64.deb.

First we create a Slackware package from this and install it.

mkdir -p work/pkg
cd work
ar -x /path/to/spotify-client_0.8.2.639.g79d339d.504-1_amd64.deb
cd pkg
tar xvf ../data.tar.gz
Then, as root, you run makepkg in the work/pkg directory:
makepkg -l y -c n /tmp/spotify-client_0.8.2.txz

then cd /tmp as root and

installpkg spotify-client_0.8.2.txz

Next we need a few symbolic links, for these you need to make sure you have the seamonkey-solibs package installed. (I had 2.8 already from doing a full install. If you haven't got it, it's in the 'l' directory):

ln -s /usr/lib64/seamonkey-2.8/libnss3.so /usr/lib64/libnss3.so.1d
ln -s /usr/lib64/seamonkey-2.8/libnssutil3.so /usr/lib64/libnssutil3.so.1d
ln -s /usr/lib64/seamonkey-2.8/libsmime3.so /usr/lib64/libsmime3.so.1d
ln -s /usr/lib64/seamonkey-2.8/libplc4.so /usr/lib64/libplc4.so.0d
ln -s /usr/lib64/seamonkey-2.8/libnspr4.so /usr/lib64/libnspr4.so.0d

(I assume, as I haven't tried, that if you are not on Slackware64 then you can simply replace 'lib64' with a plain 'lib' in the above).

We now need GCONf which is available at Slackbuilds.org (and ORBit2 as a dependency, also available on Slackbuilds):

http://slackbuilds.org/repository/13...raries/ORBit2/
http://slackbuilds.org/repository/13...braries/GConf/

and that should be it.

A quick

$ spotify

in a terminal and you're good to go.

schmatzler 04-18-2012 09:28 AM

Thank you! It works quite well. :)

It always angers me, that closed source maintainers always try to force you to use Ewbuntu.

cwizardone 04-18-2012 11:10 AM

Quote:

Originally Posted by schmatzler (Post 4656186)
...Ewbuntu.

Good one! Like it! Thanks.
:)

prpcl 04-18-2012 11:19 AM

Woow! Great job rkfb!

TheShadowFog 04-19-2012 11:37 AM

Nice! Deff trying this out!

EDIT: I can verify this works on 32bit systems.

But it sometimes crashes with this error:
Code:

third_party/tcmalloc/chromium/src/free_list.cc:115] Memory corruption detected.
zsh: abort      spotify


rkfb 04-20-2012 10:28 AM

Quote:

Originally Posted by TheShadowFog (Post 4657489)
Nice! Deff trying this out!

EDIT: I can verify this works on 32bit systems.

But it sometimes crashes with this error:
Code:

third_party/tcmalloc/chromium/src/free_list.cc:115] Memory corruption detected.
zsh: abort      spotify


I've not had it crash at all but I have had trouble with the window not quite staying in place on the screen, it seems to be in a slightly different place every time I revisit the desktop it's on (even with dimensions/position set). And it doesn't seem to want to maximise. But that maybe something to do with fluxbox. On KDE it maximises but doesn't restore very well.

houzi 06-23-2012 11:39 AM

From erik @ #slackware :
Code:

ln -s /usr/lib64/seamonkey-2.8/libnss3.so /usr/lib64/libnss3.so.1d
should be:

Code:

ln -s /usr/lib64/seamonkey/libnss3.so /usr/lib64/libnss3.so.1d
and so forth for the rest of the symlinks..

That way, dependencies will not brake when seamonkey is upgraded - which has happened to me twice in the last month..

## edit: added handle to the person in #slackware who contributed with this.

rkfb 06-24-2012 03:01 AM

Quote:

Originally Posted by houzi (Post 4710108)
From erik @ #slackware :
Code:

ln -s /usr/lib64/seamonkey-2.8/libnss3.so /usr/lib64/libnss3.so.1d
should be:

Code:

ln -s /usr/lib64/seamonkey/libnss3.so /usr/lib64/libnss3.so.1d
and so forth for the rest of the symlinks..

That way, dependencies will not brake when seamonkey is upgraded - which has happened to me twice in the last month..

## edit: added handle to the person in #slackware who contributed with this.

Thank you for that houzi, there doesn't seem to be any way to change it I'm afraid, I thought there would be an edit button but there isn't.

rkfb 07-03-2012 12:14 PM

If anyone's getting segmentation faults with Spotify starting up lately I'm not sure that there's a fix for it just yet but it does seem to be resolved if you delete your .cache/spotify directory before you run 'spotify'.

I've found it easier for now to start the application from a script:

Code:

#!/bin/bash
# Spotify: fix segmentation fault on startup

rm -fr ~/.cache/spotify
spotify

exit 0;

hth,

KaMii 03-28-2013 08:10 PM

Local files will not play
 
Has anyone been-able to get local files to play? I compiled and installed ffmpeg thinking that would provide the correct libavcodecs but still not able to get local files to play.

Munra 12-12-2013 09:34 PM

Hello:

I just want to say that I am using:
Code:

spotify-0.9.4.183.g644e24e.428-x86_64-1_SBo
and the thing compiles without problems, and start without problems, but (yes, always is one 'but') the thing do not show anything in the sections: "Discover" , "Follow, "Messages", and other ones, but I make what was suggested in the first post (just the symbolic links, cause Slackware 14.1 comes with GCONF and I do not install Orbit but is working) and fix everything.

Thanks, I hope this post is not useless.


All times are GMT -5. The time now is 05:29 AM.