Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-03-2014, 12:43 PM
|
#1
|
LQ Newbie
Registered: Feb 2014
Location: Birmingham, UK
Distribution: slackware
Posts: 2
Rep:
|
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
|
|
|
04-03-2014, 02:33 PM
|
#2
|
Senior Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Rep:
|
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.
|
04-03-2014, 06:08 PM
|
#3
|
LQ Newbie
Registered: Feb 2014
Location: Birmingham, UK
Distribution: slackware
Posts: 2
Original Poster
Rep:
|
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 06:23 PM.
Reason: just to add an extra line at the end
|
|
|
04-04-2014, 09:55 AM
|
#4
|
Senior Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Rep:
|
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.
|
04-15-2014, 11:45 PM
|
#5
|
Member
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295
Rep:
|
That explanation seems spot on, and you can confirm by running 'ldd spotify' and 'ldd SpotifyHelper'.
|
|
|
09-09-2014, 11:30 PM
|
#6
|
Member
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381
Rep:
|
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.
;^)
|
|
|
All times are GMT -5. The time now is 07:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|