LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-18-2012, 04:52 AM   #1
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 282

Rep: Reputation: 37
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.
 
Old 04-18-2012, 09:28 AM   #2
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 116

Rep: Reputation: 40
Thank you! It works quite well.

It always angers me, that closed source maintainers always try to force you to use Ewbuntu.
 
Old 04-18-2012, 11:10 AM   #3
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,103

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by schmatzler View Post
...Ewbuntu.
Good one! Like it! Thanks.
 
Old 04-18-2012, 11:19 AM   #4
prpcl
LQ Newbie
 
Registered: Apr 2012
Location: Chile
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
Woow! Great job rkfb!
 
Old 04-19-2012, 11:37 AM   #5
TheShadowFog
LQ Newbie
 
Registered: Oct 2011
Location: nope
Distribution: Slackware 13.37
Posts: 7
Blog Entries: 1

Rep: Reputation: 0
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

Last edited by TheShadowFog; 04-19-2012 at 02:18 PM.
 
Old 04-20-2012, 10:28 AM   #6
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 282

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by TheShadowFog View Post
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.
 
Old 06-23-2012, 11:39 AM   #7
houzi
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Rep: Reputation: Disabled
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.

Last edited by houzi; 06-23-2012 at 11:48 AM.
 
1 members found this post helpful.
Old 06-24-2012, 03:01 AM   #8
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 282

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by houzi View Post
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.
 
1 members found this post helpful.
Old 07-03-2012, 12:14 PM   #9
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 282

Original Poster
Rep: Reputation: 37
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,
 
Old 03-28-2013, 08:10 PM   #10
KaMii
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware 13.1, Slackware 11.0, Slackintosh 12.1
Posts: 4

Rep: Reputation: 0
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.
 
Old 12-12-2013, 09:34 PM   #11
Munra
LQ Newbie
 
Registered: Mar 2008
Location: Colombia
Distribution: slackware64 14
Posts: 27

Rep: Reputation: 1
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.

Last edited by Munra; 12-12-2013 at 09:39 PM. Reason: Grammar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spotify on Slackware rkfb Slackware 3 01-29-2012 10:46 AM
Spotify for linux binary? protolocke Linux - Software 1 08-06-2011 06:43 PM
Spotify for Linux davebrazier Linux - Newbie 7 04-05-2011 09:26 AM
Spotify in Linux a13x06 Linux - Newbie 4 02-22-2010 05:39 PM
What do they mean with install of Spotify on Jolicloud Linux? nooby Linux - Distributions 0 01-13-2010 06:31 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration