Announcements
Current information of our Google Nest Mini Offer can be found here.

The return of the libssl trouble on Linux

Solved!
Reply
Highlighted

Re: The return of the libssl trouble on Linux

Casual Listener

For those who reeaaallly don't want to blow up the system ssl library, what I did was:

- Download OpenSSL 1.0.0 source (ftp://ftp.openssl.org/source/, 1.0.0 latest patch is 1.0.0t)

- sudo aptitude install zlib1g-dev libssl-dev

  - (You may also need build tools, like, make and gcc, I already have those installed here)

- Extract and get into openssl source directory

$ ./config --prefix=/opt/openssl1.0.0 threads shared

$ make

# make install

Now create a script and make it executable:

# $EDITOR /usr/local/bin/spotify-opt

------ Insert Content:

#!/bin/sh

export LD_LIBRARY_PATH=/opt/openssl1.0.0/lib

/usr/bin/spotify

------- END

# chmod +x /usr/local/bin/spotify-opt

 

And create a desktop entry (I copied the one that comes with spotify on /usr/share/applications, and modified it):

# $EDITOR /usr/local/share/applications/spotify-opt.desktop

----- Content

[Desktop Entry]
Name=Spotify - /opt SSL
GenericName=Music Player
Comment=Spotify streaming music client
Icon=spotify-client
Exec=/usr/local/bin/spotify-opt %U
TryExec=spotify-opt
Terminal=false
Type=Application
Categories=Audio;Music;Player;AudioVideo;
MimeType=x-scheme-handler/spotify;

---- END

 

Notice that I modified three options from the original:

The Name, so I can differentiate my desktop entry from the original,

Exec and TryExec, so this entry run /usr/local/bin/spotify-opt instead of /usr/bin/spotify.

 

I believe most people will find this complicated and not worth it, but if you are one that don't like messing up with your security libraries, that's a better fix than the Jessie package.

 

Hope it helps.

Highlighted

Re: The return of the libssl trouble on Linux

Casual Listener

Oh... This was really stupid... There is an way more awesome/simple solution: Use flatpak.

 

http://flatpak.org/

flatpak and flatpak-builder are already available on debian stretch repos.

https://github.com/alexlarsson/spotify-app

 

Just Works ™

Highlighted

Re: The return of the libssl trouble on Linux

Spotify
Spotify

@anarcheano wrote:

Oh... This was really stupid... There is an way more awesome/simple solution: Use flatpak.

 

http://flatpak.org/

flatpak and flatpak-builder are already available on debian stretch repos.

https://github.com/alexlarsson/spotify-app

 

Just Works ™


Looks nice. We should totally make an official flatpak distribution of Spotify for Linux.

Highlighted

Re: The return of the libssl trouble on Linux

Newbie

It works man, I appreciate it. I am also using Kali Linux.

Highlighted

Re: The return of the libssl trouble on Linux

Casual Listener

Not very useful when flatpak just dumps to terminal and not what it is supposed to do: download the Sdk and archive in the .local repository.

 

Debian Sid: Flatpak 0.6.8.

This is dumping to terminal has been a common problem with the flatpak.org site.

Highlighted

Re: The return of the libssl trouble on Linux

Newbie

This worked perfectly for me. Thank you so much!

Highlighted

Re: The return of the libssl trouble on Linux

Casual Listener

BTW, Debian Stretch is now stable, and the Spotify package still refuses to install.

Highlighted

Re: The return of the libssl trouble on Linux

Roadie

using Debian Buster, I was able to install spotify by first installing dirmngr (needed for the key registration command on spotify's instructions page) and then adding Jessie-Backports:

deb http://ftp.debian.org/debian jessie-backports main

as an apt source (it's the last version supporting 1.0.0, but looks like it's actually a port of 1.0.2 providing 1.0.0 compatibility)

for other systems:

more details on the issue:

Highlighted

Re: The return of the libssl trouble on Linux

Casual Listener

Hi all,

 

I run into the same issue with debian stretch.

But found an repository for libssl1.0.0 on the package.debian.org webpage.

https://packages.debian.org/jessie/amd64/libssl1.0.0/download

 

Added to /etc/apt/sources.list or sources.list.d/... as you like.

apt-get update

apt-get install libssl1.0.0 

DONE.

 

Rerun the apt-get install spotify-client and everything went smooth.

Highlighted
Solution!

Re: The return of the libssl trouble on Linux

Spotify
Spotify

After almost two years, this has finally been "fixed".

 

Spotify 1.0.69 in the testing repository now (soon stable) can dynamically load different version of libcrypto.so (from the libssl* packages).

View solution in original post

SUGGESTED POSTS