xproot.pw logo
"i'm 500k requests in and realized i fucked it up" -Parzival Wolfram
Home - Blog - Guestbook   377 hits Post #8

Spotify on the Latitude! (Debian i686)

by xproot in 2022-10-09 17:53:13 PM

EDIT: Alica updated their package and now it works out of the box! I'm keeping this page for archival purposes.

Spotify on a gnome-flashback desktop, showing it's running on a Latitude 2100 under a Debian 11 i686 system

I got Spotify running on my Latitude, well a old version but regardless, it would be the latest one if Spotify decided to update their i386 package...

The main problems of running Spotify in Debian i386 is if you're running a version newer than oldoldstable (Stretch by time of writing) as Debian Buster and Bullseye (the one i'm running) do not have libcurl3.

This is only a problem because Spotify hasn't updated their i386 client, thus the repository version needs libcurl3. There is a solution though.

While strolling through the internet I found Alica's page and their custom spotify deb package.

There was still a problem though, Alica's build did install but when I tried to run it this happened

xproot@latitude2100:~$ spotify
+ export LD_LIBRARY_PATH=/lib/i386-linux-gnu/:/usr/lib/i386-linux-gnu/spotify/:/usr/lib/i386-linux-gnu/:
+ LD_LIBRARY_PATH=/lib/i386-linux-gnu/:/usr/lib/i386-linux-gnu/spotify/:/usr/lib/i386-linux-gnu/:
+ exec /usr/share/spotify/spotify
/usr/share/spotify/spotify: /lib/i386-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/share/spotify/spotify)

This had me stumped for a while until I realized, Alica included Debian 9's libcurl3 libraries in /usr/lib/i386-linux-gnu/spotify/ but Spotify wasn't loading those, easy fix as I just have to change spotify.sh's export

/usr/share/spotify/spotify.sh

- export LD_LIBRARY_PATH=/lib/i386-linux-gnu/:/usr/lib/i386-linux-gnu/spotify/:/usr/lib/i386-linux-gnu/
+ export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/spotify/:/lib/i386-linux-gnu/:/usr/lib/i386-linux-gnu/

And voila, now it works! Yeah it is an old version without a homepage or lyrics but eh it's better than using your browser.

This data can also be viewed through: RSS Button