Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

`GCRYPT_1.2' not found on Debian unstable #40

Open
kwbr opened this issue Nov 6, 2014 · 25 comments
Open

`GCRYPT_1.2' not found on Debian unstable #40

kwbr opened this issue Nov 6, 2014 · 25 comments

Comments

@kwbr
Copy link

kwbr commented Nov 6, 2014

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
Copy link
Author

kwbr commented Nov 6, 2014

BTW, installing the package libgcrypt11 fixes the issue.

@rriemann
Copy link

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.

@leamas
Copy link
Owner

leamas commented Dec 26, 2014

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.

@SecUpwN
Copy link

SecUpwN commented Dec 31, 2014

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?

@rriemann
Copy link

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?

@SecUpwN
Copy link

SecUpwN commented Dec 31, 2014

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.

@leamas
Copy link
Owner

leamas commented Jan 1, 2015

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.

@SecUpwN
Copy link

SecUpwN commented Jan 1, 2015

@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

@leamas
Copy link
Owner

leamas commented Jan 1, 2015

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?

@SecUpwN
Copy link

SecUpwN commented Jan 1, 2015

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.

@leamas
Copy link
Owner

leamas commented Jan 1, 2015

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

@SecUpwN
Copy link

SecUpwN commented Jan 1, 2015

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?

@leamas
Copy link
Owner

leamas commented Jan 1, 2015

The file related to libgrypt11

@SecUpwN
Copy link

SecUpwN commented Jan 1, 2015

The file related to libgrypt11

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

leamas added a commit that referenced this issue Jan 1, 2015
@leamas
Copy link
Owner

leamas commented Jan 1, 2015

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

@SecUpwN
Copy link

SecUpwN commented Jan 1, 2015

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

@kwbr
Copy link
Author

kwbr commented Feb 10, 2015

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)

@leamas
Copy link
Owner

leamas commented Feb 10, 2015

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 (?)

@SecUpwN
Copy link

SecUpwN commented Feb 23, 2015

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

@Morganlej
Copy link

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

@SecUpwN
Copy link

SecUpwN commented Jun 17, 2015

@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)

@jkudish
Copy link

jkudish commented Jul 10, 2015

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

@SecUpwN
Copy link

SecUpwN commented Jul 10, 2015

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

@jkudish, please submit the files listed in #40 (comment) so that @leamas can have a look.

@SecUpwN
Copy link

SecUpwN commented Mar 23, 2016

@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
Copy link

SecUpwN commented May 1, 2016

Listen up folks, please test if aspiers/opensuse-spotify-installer#42 (comment) is the solution to this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants