spotify-make icon indicating copy to clipboard operation
spotify-make copied to clipboard

`GCRYPT_1.2' not found on Debian unstable

Open kwbr opened this issue 10 years ago • 25 comments

With the current Debian unstable the same error as on Fedora (see #33) appears:

$ spotify 
/home/kai/.local/lib/spotify-client/spotify: /home/kai/.local/lib/spotify-client/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/kai/.local/lib/spotify-client/libcef.so)

kwbr avatar Nov 06 '14 15:11 kwbr

BTW, installing the package libgcrypt11 fixes the issue.

kwbr avatar Nov 06 '14 15:11 kwbr

Same issue on opensuse 13.2 64bit. There is no libgcrypt11 in the default repository.

However, someone has build and changing a symlink makes spotiy start.

rriemann avatar Dec 23 '14 12:12 rriemann

For those of you on distribtutions not having a libgcrypt11 available, submitting such a prebuilt file makes a lot of sense. This is actually the only thing required to patch spotify-make to handle the situation.

Note that when distributing binary files, it's important to submit the license file as well for whatever license the code is published under.

leamas avatar Dec 26 '14 13:12 leamas

Same issue on opensuse 13.2 64bit. There is no libgcrypt11 in the default repository.

Experiencing this as well on my openSUSE, getting errors in Spotify-AdKiller. @rriemann, would you please submit this prebuilt file including its license file so that @leamas can patch spotify-make?

SecUpwN avatar Dec 31 '14 05:12 SecUpwN

For opensuse 13.2 64 bit

# as root
zypper in http://download.opensuse.org/repositories/home:/fstrba/openSUSE_13.2/x86_64/libgcrypt11-1.5.4-1.1.x86_64.rpm
# as user 
cd ~/.local/lib/spotify-client
mv libgcrypt.so.11{,~}
ln -sv /usr/lib64/libgcrypt.so.11

I do not support the use of the Spotify AdKiller. Dear @SecUpwN, are you premium user?

rriemann avatar Dec 31 '14 11:12 rriemann

Thank you @rriemann for answering so fast with a fix! @leamas please implement it.

I do not support the use of the Spotify AdKiller. Dear @SecUpwN, are you premium user?

Yes, I actually am. And that script is NOT meant to circumvent premium, it also doesn't do so.

SecUpwN avatar Dec 31 '14 11:12 SecUpwN

Hm... In order to do this I need toi create a virtual suse host running zypper. As of now, I'm not motivated enough to do this.

What's needed is

  • The 64-bit library as of above.
  • The corresponding 32-bit library.
  • The license file from any the 64- or 32-bit package (they should be the same).
  • The output from lsb-release -i on a suse host.

If someone could provide these one way or another I should be able to update spotify-make to cope with the situation.

leamas avatar Jan 01 '15 17:01 leamas

@leamas, first of all: Happy New Year! Here we rock:

  • The 64-bit library as of above.
  • The corresponding 32-bit library.
  • The license file from any the 64- or 32-bit package (they should be the same).
  • The output from lsb-release -i on a suse host. -> Distributor ID: openSUSE project

SecUpwN avatar Jan 01 '15 17:01 SecUpwN

Looks good besides the license file. That file is not the license but rather the README. It doesn't even include a license statement.

Since this is a GNU package, there should be a COPYING file somewhere. Can you fix this?

leamas avatar Jan 01 '15 18:01 leamas

Since this is a GNU package, there should be a COPYING file somewhere. Can you fix this?

I think so. The file in question is located in /usr/share/doc/packages/libgcrypt/COPYING and is just a copy of GPL v2. Let me know if you need anything else, @leamas. Thanks for your great work here.

SecUpwN avatar Jan 01 '15 19:01 SecUpwN

No, it's not a copy - there is some boilerplate text filled in. I need the real /usr/share/doc/packages/libgcrypt/COPYING

leamas avatar Jan 01 '15 19:01 leamas

I need the real `/usr/share/doc/packages/libgcrypt/COPYING

Ok, fair. There are actually two different ones: libgcrypt11 has GNU GENERAL PUBLIC LICENSE 2 and libgcrypt20 uses GNU LESSER GENERAL PUBLIC LICENSE 2.1. So which one do you need?

SecUpwN avatar Jan 01 '15 19:01 SecUpwN

The file related to libgrypt11

leamas avatar Jan 01 '15 19:01 leamas

The file related to libgrypt11

There ya go, the download link will be valid for 7 days.

SecUpwN avatar Jan 01 '15 19:01 SecUpwN

OK, I pushed a new feature branch named 'issue-40'. If anyone could test it on SUSE it would be really nice...

leamas avatar Jan 01 '15 19:01 leamas

Thanks! Calling @rriemann to do this. My internet connection currently does not allow to do so.

SecUpwN avatar Jan 01 '15 20:01 SecUpwN

Does not work for me on Debian unstable. It seems libgcrypt.so.20 is linked as libgcrypt.so.11. But this library does not provide GCRYPT_1.2

$ ls -l /home/kai/.local/lib/spotify-client/libgcrypt.so.11
lrwxrwxrwx 1 kai kai 37 Feb 10 16:40 /home/kai/.local/lib/spotify-client/libgcrypt.so.11 -> /lib/x86_64-linux-gnu/libgcrypt.so.20
$ spotify 
/home/kai/.local/lib/spotify-client/spotify: /home/kai/.local/lib/spotify-client/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/kai/.local/lib/spotify-client/libcef.so)

kwbr avatar Feb 10 '15 15:02 kwbr

That link looks bogus to me, for the reason you describe.

This could be patched easily in the same way as for many other distros if you could provide a libgrypt.so.1.1 built for unstable; there is probably some compatibility package out there (?)

leamas avatar Feb 10 '15 15:02 leamas

Not cool that people do not really follow up on their own Issues.. :anguished: Here ya go, @leamas. Hope that helps and you'll merge this now.

SecUpwN avatar Feb 23 '15 07:02 SecUpwN

Thanks for your contribution :) People have lives and other stuff too, you know.

Morganlej avatar Feb 23 '15 08:02 Morganlej

@leamas, please merge the issue-40 branch now! I have the same error and think this thing may fix it.

/home/SecUpwN/.local/lib/spotify-client/spotify: /lib64/libcrypto.so.1.0.0: no version information available (required by /home/SecUpwN/.local/lib/spotify-client/spotify)
/home/SecUpwN/.local/lib/spotify-client/spotify: /lib64/libssl.so.1.0.0: no version information available (required by /home/SecUpwN/.local/lib/spotify-client/spotify)
/home/SecUpwN/.local/lib/spotify-client/spotify: /home/SecUpwN/.local/lib/spotify-client/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/SecUpwN/.local/lib/spotify-client/libcef.so)

SecUpwN avatar Jun 17 '15 15:06 SecUpwN

the issue-40 branch breaks the installer in Fedora 22 for me, fwiw.

jkudish avatar Jul 10 '15 03:07 jkudish

the issue-40 branch breaks the installer in Fedora 22 for me, fwiw.

@jkudish, please submit the files listed in https://github.com/leamas/spotify-make/issues/40#issuecomment-68492903 so that @leamas can have a look.

SecUpwN avatar Jul 10 '15 09:07 SecUpwN

@aspiers, I am now using your wonderful openSUSE Spotify Installer in conjunction with my own project that I'd like you to join (or at least give a star): The Spotify-AdKiller! Are you able to help @leamas to solve this Issue? It is also preventing successful launchg of my-spotify on openSUSE (currently using Tumbleweed). Thanks for developing your installer for my beloved openSUSE system!

SecUpwN avatar Mar 23 '16 22:03 SecUpwN

Listen up folks, please test if https://github.com/aspiers/opensuse-spotify-installer/issues/42#issuecomment-211305594 is the solution to this!

SecUpwN avatar May 01 '16 19:05 SecUpwN