Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with libgcrypt dependency #42

Closed
maikol-solis opened this issue Mar 9, 2016 · 9 comments
Closed

Problem with libgcrypt dependency #42

maikol-solis opened this issue Mar 9, 2016 · 9 comments

Comments

@maikol-solis
Copy link

I tried to install spotify with a fresh installation of Opensuse Leap 42.1 and I got an error saying

Problem: nothing provides libgcrypt.so.11()(64bit) needed by spotify-client-0.9.17.8.gd06432d.31-1.x86_64

There is some workaround to this?

$ install-spotify     

Downloading Spotify .deb package ...
--2016-03-09 11:10:08--  http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
Resolving repository.spotify.com (repository.spotify.com)... 54.192.83.15, 54.192.83.109, 54.192.83.100, ...
Connecting to repository.spotify.com (repository.spotify.com)|54.192.83.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 42700518 (41M) [application/octet-stream]
Saving to: ‘/home/maikol.solis/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb’

100%[=====================================================================================================================================================================================================================================>] 42,700,518  5.90MB/s   in 6.7s   

2016-03-09 11:10:15 (6.05 MB/s) - ‘/home/maikol.solis/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb’ saved [42700518/42700518]

.deb downloaded.

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

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ith14o
+ umask 022
+ cd /home/maikol.solis/rpmbuild/BUILD
+ cd /home/maikol.solis/rpmbuild/BUILD
+ rm -rf spotify-client-0.9.17.8.gd06432d.31
+ /usr/bin/mkdir -p spotify-client-0.9.17.8.gd06432d.31
+ cd spotify-client-0.9.17.8.gd06432d.31
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ ar -vx /home/maikol.solis/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
x - debian-binary
x - control.tar.gz
x - data.tar.xz
+ tar -xf data.tar.xz
+ rm control.tar.gz data.tar.xz debian-binary
+ cat
+ chmod +x /home/maikol.solis/rpmbuild/BUILD/spotify-client-0.9.17.8.gd06432d.31/find-requires.sh
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W7jvjZ
+ umask 022
+ cd /home/maikol.solis/rpmbuild/BUILD
+ /usr/bin/rm -rf /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
++ dirname /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
+ /usr/bin/mkdir -p /home/maikol.solis/rpmbuild/BUILDROOT
+ /usr/bin/mkdir /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
+ cd spotify-client-0.9.17.8.gd06432d.31
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GaDAzz
+ umask 022
+ cd /home/maikol.solis/rpmbuild/BUILD
+ cd spotify-client-0.9.17.8.gd06432d.31
+ mv opt /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
+ desktop=/home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/spotify.desktop
+ sed -i 's/^\(MimeType=.*\);?$/\1;/i ;
        s/^Categories=/Categories=AudioVideo;Music;Player;Jukebox;/' /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/spotify.desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/spotify.desktop
WARNING: Category "Audio" is unknown \!
WARNING: it is ignored, until you registered a Category at [email protected] .
+ mkdir -p /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/share/doc/packages/spotify-client
+ cat
+ mkdir -p /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib
+ ln -sf ../Data/libcef.so /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libcef.so
+ mkdir -p /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/bin
+ wrapper=/home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/bin/spotify
+ cat
+ chmod +x /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/bin/spotify
+ mkdir -p /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/lib64
+ ln -sf /lib64/libcrypto.so.1.0.0 /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libcrypto.so.0.9.8
+ ln -sf /lib64/libssl.so.1.0.0 /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libssl.so.0.9.8
+ libs=(libnss3.so.1d libnssutil3.so.1d libsmime3.so.1d libplc4.so.0d libnspr4.so.0d)
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libnss3.so /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libnss3.so.1d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libnssutil3.so /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libnssutil3.so.1d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libsmime3.so /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libsmime3.so.1d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libplc4.so /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libplc4.so.0d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libnspr4.so /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libnspr4.so.0d
+ export NO_BRP_CHECK_RPATH=true
+ NO_BRP_CHECK_RPATH=true
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-suse
calling /usr/lib/rpm/brp-suse.d/brp-05-permissions
setting / to root:root 0755. (wrong owner/group maikol.solis:users)
setting /opt/ to root:root 0755. (wrong owner/group maikol.solis:users)
setting /usr/ to root:root 0755. (wrong owner/group maikol.solis:users)
calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug
calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
calling /usr/lib/rpm/brp-suse.d/brp-30-desktop
WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist
Unknown 'DefaultLayout':
        'HASH(0x1666bb8) 0 
                 Merge ARRAY(0x166c680) 0 
                 Merge ARRAY(0x166c4d0) 0 
        '
calling /usr/lib/rpm/brp-suse.d/brp-35-rpath
NO_BRP_CHECK_RPATH is set: skipping check
calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs
calling /usr/lib/rpm/brp-suse.d/brp-45-tcl
calling /usr/lib/rpm/brp-suse.d/brp-50-check-python
calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts
calling /usr/lib/rpm/brp-suse.d/brp-60-hook
calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux
Processing files: spotify-client-0.9.17.8.gd06432d.31-1.x86_64
Finding  Provides: /usr/lib/rpm/find-provides spotify-client
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires: /home/maikol.solis/rpmbuild/BUILD/spotify-client-0.9.17.8.gd06432d.31/find-requires.sh
Provides: spotify-client = 0.9.17.8.gd06432d.31-1 spotify-client(x86-64) = 0.9.17.8.gd06432d.31-1 libcef.so()(64bit) libcef.so(libcef.so)(64bit) libffmpegsumo.so()(64bit) libffmpegsumo.so(libffmpegsumo.so)(64bit)
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/bash /bin/sh ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libatk-1.0.so.0()(64bit) libcairo.so.2()(64bit) libcef.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcups.so.2()(64bit) libdbus-1.so.3()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libexpat.so.1()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.0.0)(64bit) libgconf-2.so.4()(64bit) libgcrypt.so.11()(64bit) libgcrypt.so.11(GCRYPT_1.2)(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgdk-x11-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.10)(64bit) libnss3.so(NSS_3.11.1)(64bit) libnss3.so(NSS_3.11.2)(64bit) libnss3.so(NSS_3.11)(64bit) libnss3.so(NSS_3.12.1)(64bit) libnss3.so(NSS_3.12.3)(64bit) libnss3.so(NSS_3.12.4)(64bit) libnss3.so(NSS_3.12)(64bit) libnss3.so(NSS_3.12.6)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.3)(64bit) libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.5)(64bit) libnss3.so(NSS_3.6)(64bit) libnss3.so(NSS_3.7)(64bit) libnss3.so(NSS_3.8)(64bit) libnss3.so(NSS_3.9.2)(64bit) libnss3.so(NSS_3.9)(64bit) libnssutil3.so()(64bit) libnssutil3.so(NSSUTIL_3.12.3)(64bit) libnssutil3.so(NSSUTIL_3.12)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpangoxft-1.0.so.0()(64bit) libplc4.so()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) libQtCore.so.4()(64bit) libQtDBus.so.4()(64bit) libQtGui.so.4()(64bit) libQtNetwork.so.4()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libresolv.so.2(GLIBC_2.9)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libsmime3.so()(64bit) libsmime3.so(NSS_3.10)(64bit) libsmime3.so(NSS_3.2)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4.10)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) libX11.so.6()(64bit) libXcomposite.so.1()(64bit) libXdamage.so.1()(64bit) libXext.so.6()(64bit) libXfixes.so.3()(64bit) libXi.so.6()(64bit) libXrender.so.1()(64bit) libXss.so.1()(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
warning: Could not canonicalize hostname: linux-933z
Wrote: /home/maikol.solis/rpmbuild/SRPMS/spotify-client-0.9.17.8.gd06432d.31-1.nosrc.rpm
Wrote: /home/maikol.solis/rpmbuild/RPMS/x86_64/spotify-client-0.9.17.8.gd06432d.31-1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TQR0tR
+ umask 022
+ cd /home/maikol.solis/rpmbuild/BUILD
+ cd spotify-client-0.9.17.8.gd06432d.31
+ /usr/bin/rm -rf /home/maikol.solis/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
+ rm -rf filelists

rpm successfully built!

Installing Spotify from the rpm we just built ...
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libgcrypt.so.11()(64bit) needed by spotify-client-0.9.17.8.gd06432d.31-1.x86_64
 Solution 1: do not install spotify-client-0.9.17.8.gd06432d.31-1.x86_64
 Solution 2: break spotify-client-0.9.17.8.gd06432d.31-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): ```
@reaver585
Copy link

Same stuff here, any updates?

@SecUpwN
Copy link

SecUpwN commented Mar 23, 2016

./spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory

Confirming this as well, I suspect this to be the same case as in leamas/spotify-make#40. Hoping this to be fixed soon, I will then see if this project works with my Spotify-AdKiller and may add it to our README.

@two-dogs
Copy link

two-dogs commented Apr 18, 2016

i am using;

System: Host: linux-s4s1 Kernel: 4.5.0-3-default x86_64 (64 bit gcc: 5.3.1)
Desktop: Cinnamon 2.8.8 (Gtk 3.20.3) Distro: openSUSE Tumbleweed (20160415)

i installed and allowed the install to proceed as 'broken' ;

https://gist.github.com/anonymous/d1dd196e8e93df10898f4fc8485b3b1d

and also installed the missing dependency;

http://rpm.pbone.net/index.php3/stat/4/idpl/27155581/dir/opensuse_13.x/com/libgcrypt11-1.5.4-2.4.1.x86_64.rpm.html

worked for me, should work on tw at least.

http://img.susepaste.org/54206244

@alexandrevicenzi
Copy link

@two-dogs I would like to pay a beer to you. This libcrypt version worked :)

@Morganlej
Copy link

WORKAROUND on Magea 6 (currently in development version; Cauldron)
Leamas-spotify have worked great for years up to including current mageia5 :)
Now on coming mageia6 there is like in current fedora, opensuse etc no libgcrypt11, so i copied the libgcrypt.so.11 from mageia5, and that worked.

( Symlinking from mageia 6 libgcrypt.so.20 did not work; Spotify replies /lib64/libgcrypt.so.11: version `GCRYPT_1.2' not found )

Details see my post https://forums.mageia.org/en/viewtopic.php?f=15&t=11003

@kubahorak
Copy link

I work around this issue by installing libgcrypt11 package from https://software.opensuse.org/package/libgcrypt11

@Morganlej
Copy link

Great with more ways to get it :)
I found Spotify 1.x i works on Mageia6 using alien; https://forums.mageia.org/en/viewtopic.php?f=15&t=11003#p64907 and no need for libgcrypt11 then.

@averyfreeman
Copy link

https://software.opensuse.org/package/libgcrypt11 -- the official is only 32-bit, I download a 64-bit version and installed with zypper locally - worked on TW @ 1/25/18

@aspiers
Copy link
Owner

aspiers commented Feb 10, 2018

Hey folks, thanks a lot for your contributions here. I've finally admitted I need to step aside and let someone else with more motivation and free time than me drive this - please see #50.

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

No branches or pull requests

9 participants