LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-03-2014, 11:43 AM   #1
socokev
LQ Newbie
 
Registered: Feb 2014
Location: Birmingham, UK
Distribution: slackware
Posts: 2

Rep: Reputation: Disabled
spotify client can search and play music but does not display web content


I am running slackware 14.1-64 with the spotify slackbuild 0.9.4.183.g644e24e0

The client works for searching and playing music but it appears to display only the text information from a search.
The main window does not display any web content so I can not get any 'discover' pages, and spotify apps pages and no other information.
Apart from the text results of using the search box the main window will not display anything and there is no side bar displaying spotify connected friends.
I've had a look in the .cache/spotify/Browser folder and that is empty.

Any help what to do next would be appreciated - it's no biggie as I can use the web player for information but it would be nice to have the client working correctly
 
Old 04-03-2014, 01:33 PM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Me too. So I finally looked to see what was up. If I'm right, it went wrong when openssl-solibs and seamonkey-solibs got patched (so well done socokev for keeping your system up to date!)

This seems to fix it:

cd /opt/spotify/spotify-client
rm libcrypto.so.0.9.8 libssl.so.0.9.8
ln -s /lib64/libcrypto.so.0.9.8 .
ln -s /lib64/libssl.so.0.9.8 .
cd /opt/spotify/spotify-client/Data
ln -s ../lib*.so* .

Let us know if that does the trick for you, and then I'll follow it up with the SBo maintainer.
 
3 members found this post helpful.
Old 04-03-2014, 05:08 PM   #3
socokev
LQ Newbie
 
Registered: Feb 2014
Location: Birmingham, UK
Distribution: slackware
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile brilliant - worked!

55020

That worked straight away.
Thanks so much for the fast reply.

Just out of interest could you quickly explain what happened. I've been using Linux a fair few years but I've only been using Slackware for a couple of months - mandrake, ubuntu and mint were my previous distros so I never really learn't too much using them!

I assume that the client wasn't using the correct 64bit libraries but it would be good to learn rather than just copy.

if you know the correct way to get this altered on slackbuilds that would be appreciated also.

I will test spotify for a day before I tag this as solved.

kev

Last edited by socokev; 04-03-2014 at 05:23 PM. Reason: just to add an extra line at the end
 
Old 04-04-2014, 08:55 AM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Well, to be honest, I'm not entirely sure how it ever worked, though clearly it did work...

With binary-only packages there is always the problem that they need external libraries. None of this is documented or supported by Spotify, and the distros (including our SBo maintainer) need to reverse-engineer the right setup. Through no fault of their own, all the distros have horrible problems with this because they are forced to guess (e.g. look at the Arch AUR page for spotify, and the traumatised ubuntistas in the Spotify forums). And it appears that Spotify have lost interest in updating the Linux desktop client but can't be honest enough to announce it or answer questions about it. And this is why we hate corporate closed-source software, even if Spotify likes to present itself as cuddly and different.

Anyway, the spotify client uses libcrypto/libssl and libnss3, which have both had important security updates since Spotify built the client binary. The SlackBuild assists the binary to find those libraries by creating symlinks in /opt/spotify/spotify-client. However, libcrypto/libssl were symlinked from /usr/lib64, but the correct location is /lib64, and so the symlinks were broken. I don't know when or if /usr/lib64 was ever correct, but /lib64 is correct now. As a second problem, symlinks are apparently also needed in /opt/spotify/spotify-client/Data, but were not provided by the SlackBuild. It's a tempting conclusion that something changed when openssl-solibs and seamonkey-solibs were updated earlier this year that prevents the SlackBuild's original setup from working, but it would be difficult to reconstruct how things were last year without a lot of work. And if spotify works now, what would be the point?
 
1 members found this post helpful.
Old 04-15-2014, 10:45 PM   #5
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
That explanation seems spot on, and you can confirm by running 'ldd spotify' and 'ldd SpotifyHelper'.
 
Old 09-09-2014, 10:30 PM   #6
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
Hi there, I am the new maintainer of Spotify (which was split into two packages because the 64-bit version continues to be updated, while the 32-bit hasn't been for almost a year) ... what would be the best way to incorporate this into the spotify32 SlackBuild? I'm thinking it belongs in the doinst.sh, but I'd love to have your feedback.

;^)
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Play your Music on Linux with Music Player Daemon LXer Syndicated Linux News 0 03-03-2014 06:41 PM
LXer: Clementine Music Player Gets Spotify And Grooveshark Support LXer Syndicated Linux News 0 11-16-2011 07:20 PM
Spotify cuts back on free music Jeebizz Linux - News 0 04-14-2011 10:50 AM
Can you make search ...search a string in a link....a url...a web address aus9 LQ Suggestions & Feedback 4 04-16-2008 09:37 AM
Possible to search by content of package not downloaded yet? davidas Debian 4 04-09-2004 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration