Has anyone been able to get spotify to work on opensuse (wine or otherwise)

Hi. I am using opensuse 42.1. Having a devil of a time getting spotify to work. On most distros, I can either find it in a community repo or find a package I can install. I would be a very happy man if someone could show me how to get spotify working on openSUSE leap.

Still not working here so far, since Leap is still relatively new I am sure they’ll fix it

libgcrypt selftest: binary  (0): Selftest failed (/usr/lib64/.libgcrypt.so.11.hmac)Ohhhh jeeee: ... this is a bug (global.c:137:global_init)
/usr/bin/spotify: line 11: 25387 Aborted LD_LIBRARY_PATH=/opt/spotify/spotify-client/lib ./spotify "$@"



Hi there!.

I’m on the same problem with the Spotify client and Leap 42.1. I hope soon there will be a fix…

Regards.

Hey again, Friends!.

Working on it, i found a provisional solution: install the package libgcrypt11 but not from the leap 42.1 repositories. Install the package from the 13.2 distribution. You can download it from here:

https://software.opensuse.org/package/libgcrypt11

Remember, choose the package from 13.2, not from Leap 42.1. You can install it from the command line with this instruction:

rpm -i --nodeps libgcrypt11-1.5.4-2.1.x86_64.rpm

I hope this will be useful.

Regards.

Did this ( NB. Packman repo must be enabled ):


sudo zypper in spotify-installer

next, as ordinary user:


install-spotiry

after which

/usr/bin/spotify

works as expected. You’ll see that the proper libgcrypt will be included.

ahh… no wonder, now I am getting mine working. Knurpht’s repo is a saviour lol! Thanks

How did you do so? I installed the package he said, but still getting dependencies error :frowning:

what dependencies error when you type spotify from the terminal?

error: Error de dependencias:
libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit) es necesario por spotify-client-1.0.17.75.g8f111100-2.x86_64
libcurl.so.4(CURL_OPENSSL_3)(64bit) es necesario por spotify-client-1.0.17.75.g8f111100-2.x86_64
libssl.so.1.0.0(OPENSSL_1.0.0)(64bit) es necesario por spotify-client-1.0.17.75.g8f111100-2.x86_64

This is strange, my installation only lacked of libgrypt11 and not the others, I believe you can search the missing libs from the OBS.

Forget, I was trying to install the last version of spotify (1.017), which won’t install beacuse of the dependencies. However the version that ‘spotify-installer’ installs works fine.
Thanks anyway :slight_smile:
However it’d be nice if we could get the new version of spotify working :wink:

On Thu, 12 Nov 2015 11:36:01 +0000, Knurpht wrote:

> Did this ( NB. Packman repo must be enabled ):
>
> Code:
> --------------------
>
> sudo zypper in spotify-installer
>
> --------------------
>
> next, as ordinary user:
>
> Code:
> --------------------
>
> install-spotiry
>
> --------------------
>
> after which Code:
> --------------------
> /usr/bin/spotify
> --------------------
> works as expected. You’ll see that the proper libgcrypt will be
> included.

I’ve tried this myself on my just-now-upgraded main workstation.

When running, I get:


libgcrypt selftest: binary  (0): Selftest failed (/usr/
lib64/.libgcrypt.so.11.hmac)
Ohhhh jeeee: ... this is a bug (global.c:137:global_init)
/usr/bin/spotify: line 11:  4545 Aborted                 LD_LIBRARY_PATH=/
opt/spotify/spotify-client/lib ./spotify "$@"

I tried removing both the previously-installed Spotify package (from my
13.2 installation) as well as the previously-installed libgcrypt11
package, so it should have been clean.

Any thoughts?

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi Jim, I had that same message error too in the beginning, but my Leap is fresh installed and not upgrade from the 13.2. Following the advise from a member here that the only workaround is to use libgcrypt11 from 13.2 repo, and that’s working.

On Sun, 06 Dec 2015 12:26:01 +0000, powerw00t wrote:

> Hi Jim, I had that same message error too in the beginning, but my Leap
> is fresh installed and not upgrade from the 13.2. Following the advise
> from a member here that the only workaround is to use libgcrypt11 from
> 13.2 repo, and that’s working.

Thanks - I tried that and still get the same message.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

An updated installer script is at:

https://github.com/cornguo/opensuse-spotify-installer

I just ran this and it installed the latest version (1.0.19) - and that
version runs on Leap 42.1 with that script.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

lol After spend hours making a mess in my system I got my Spotify working lol Thanks guys.

These are what I have done:

1 - I went to the page https://software.opensuse.org/package/libgcrypt11 and downloaded the package for the openSUSE 13.2 as showed below

The system will say that you are going to downgrade the package.

2 - After that (Packman repo must be enabled):

  • zypper in spotify-installer
  • as ordinary user: install-spotiry

This was the only way to make Spotify working here.

“SCREENSHOT”](http://i.imgur.com/tOL1XWE.png)

I can confirm libcrypt from 13.2 is working . Thanks

The script from cornguo on GitHub updated in December '15 works fine with Leap 42.1 and Spotify 1.0.19 runs without any problem. Just remember to do the manual installation (described in the readme file) and don’t download the spotify-installer from the Packman repository - it is still for the 0.9.xx version of Spotify.

Warning: don’t use the links from readme file - there are pointing to the older installation script and spec file. Use the github branch/file browser or simply use download zip button.

Oops, it seems that old README file causes confusion.
I’ll update README file, thanks :stuck_out_tongue:

Hi guys,

Thanks for that Script. Trying to install it on Leap, but getting errors.
I’m sure the errors source is me, but i need some help to get the Point.
Following the Instructions from the read-me on gitHub I downloaded the zip and Extracted it to an folder and did


> chmod +x install-spotify.sh
> ./install-spotify.sh 

The sh starts running.

wget is installed.
Getting version info...
wget: Unbekannte Option »--show-progress«
Syntax: wget [OPTION]... ...

»wget --help« gibt weitere Informationen.
Current version = (not installed)
Online version  = , release = , arch = x86_64

Creating spec file from template...

rpm-build is already installed.

Spotify .deb package already exists:

  ~/rpmbuild/SOURCES/

Skipping download.

About to build spotify-client rpm; please be patient ...

error: line 16: Empty tag: Version:
rpmbuild -ba /tmp/spotify-client.spec failed! Aborting.


But unfortunately i don’t know how to handle the error :frowning:

Can anyone help?

Thanks and have a nice Weekend!