-
Notifications
You must be signed in to change notification settings - Fork 29
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
Does not run on openSUSE 13.2 #33
Comments
Hi, I try to compile Compiling this version of libgcrypt require
How nice... Let me know if you guys manage to do better. Thanks |
hmmm... changed version number in install script and also in SPEC file (changed also line ln -sf ../Data/libcef...) and I was able to build/install spotify. I can also run it... I only get these two lines after starting it in cosole $ spotify
./spotify: /lib64/libssl.so.1.0.0: no version information available (required by ./spotify)
./spotify: /lib64/libcrypto.so.1.0.0: no version information available (required by ./spotify) |
First of all, thanks for your time. Are your running Opensuse 13.2. It appears to me that dependencies for My ugly and working solution is: use
A shame I could not figure out better... |
@Heart1010 I just saw the Konsole on your screen shot. I see that you have a 13.2 is it a fresh install or did you upgrade from 13.1? For the record: $ zypper se -si spotify
Chargement des données du dépôt...
Lecture des paquets installés...
S | Nom | Type | Version | Arch | Dépôt
--+-------------------+--------+----------------------------+--------+-------------------
i | spotify-client | paquet | 0.9.11.27.g2b1a638.81-1 | x86_64 | (Paquets système)
i | spotify-installer | paquet | 0.9.4.183.g644e24e.428-2.1 | noarch | Packman Repository |
@KINFOO that is a "upgraded 13.2" (from 13.1 via zypper dup) $ ll /lib64/libcrypt*
-rwxr-xr-x 1 root root 58107 6. Okt 16:25 /lib64/libcrypt-2.19.so
-r-xr-xr-x 1 root root 2220464 12. Nov 11:15 /lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 16 12. Nov 17:14 /lib64/libcrypt.so.1 -> libcrypt-2.19.so
$ ll /lib64/libssl*
-r-xr-xr-x 1 root root 421112 12. Nov 11:15 /lib64/libssl.so.1.0.0
$ zypper wp libssl.so.1.0.0
S | Name | Zusammenfassung | Typ
--+-----------------------+---------------------------------------------+------
i | hipchat | Persistent group chat using XMPP. | Paket
i | libopenssl1_0_0 | Secure Sockets und Transport Layer Security | Paket
i | libopenssl1_0_0-32bit | Secure Sockets und Transport Layer Security | Paket
$ zypper wp libcrypto.so.1.0.0
S | Name | Zusammenfassung | Typ
--+-----------------------+---------------------------------------------+------
i | hipchat | Persistent group chat using XMPP. | Paket
i | libopenssl1_0_0 | Secure Sockets und Transport Layer Security | Paket
i | libopenssl1_0_0-32bit | Secure Sockets und Transport Layer Security | Paket
$ zypper se -si libopenssl*
S | Name | Typ | Version | Arch | Repository
--+-----------------------+-------+--------------+--------+-------------------------
i | libopenssl1_0_0 | Paket | 1.0.1j-2.4.1 | x86_64 | openSUSE 13.2 OSS Update
i | libopenssl1_0_0-32bit | Paket | 1.0.1j-2.4.1 | x86_64 | openSUSE 13.2 OSS Update |
@Heart1010 Here is a list of dependencies version, just like you did: $ ll /lib64/libssl*
-r-xr-xr-x 1 root root 412K 12 nov. 11:15 /lib64/libssl.so.1.0.0
$ zypper wp libssl.so.1.0.0
S | Nom | Résumé | Type
--+-----------------------+---------------------------------------------+-------
i | libopenssl1_0_0 | Secure Sockets and Transport Layer Security | paquet
i | libopenssl1_0_0-32bit | Secure Sockets and Transport Layer Security | paquet
$ zypper wp libcrypto.so.1.0.0
S | Nom | Résumé | Type
--+-----------------------+---------------------------------------------+-------
i | libopenssl1_0_0 | Secure Sockets and Transport Layer Security | paquet
i | libopenssl1_0_0-32bit | Secure Sockets and Transport Layer Security | paquet
$ zypper se -si "libopenssl*"
S | Nom | Type | Version | Arch | Dépôt
--+-----------------------+--------+--------------+--------+-----------------------
i | libopenssl-devel | paquet | 1.0.1j-2.4.1 | x86_64 | Main Update Repository
i | libopenssl1_0_0 | paquet | 1.0.1j-2.4.1 | x86_64 | Main Update Repository
i | libopenssl1_0_0-32bit | paquet | 1.0.1j-2.4.1 | x86_64 | Main Update Repository None the less, I can reproduce my crash 😄 $ install-spotify -u
Removing spotify-client rpm ...
Préparation des paquets...
spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
De-installation done!
$ sudo rm -frv /opt/spotify/spotify-client
« /opt/spotify/spotify-client/lib/libudev.0 » supprimé
« /opt/spotify/spotify-client/lib/libudev.so.0 » supprimé
« /opt/spotify/spotify-client/lib/libgcrypt.so.11 » supprimé
répertoire supprimé : « /opt/spotify/spotify-client/lib »
répertoire supprimé : « /opt/spotify/spotify-client »
$ install-spotify
rpm-build is already installed.
Spotify .deb package already exists:
~/rpmbuild/SOURCES/spotify-client_0.9.11.27.g2b1a638.81-1_amd64.deb
Skipping download.
About to build spotify-client rpm; please be patient ...
Exécution_de(%prep) : /bin/sh -e /var/tmp/rpm-tmp.ECR8u9
+ umask 022
+ cd /home/kevin/rpmbuild/BUILD
+ cd /home/kevin/rpmbuild/BUILD
+ rm -rf spotify-client-0.9.11.27.g2b1a638.81
+ /usr/bin/mkdir -p spotify-client-0.9.11.27.g2b1a638.81
+ cd spotify-client-0.9.11.27.g2b1a638.81
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ ar -x /home/kevin/rpmbuild/SOURCES/spotify-client_0.9.11.27.g2b1a638.81-1_amd64.deb
+ tar -xzf data.tar.gz
+ rm control.tar.gz data.tar.gz debian-binary
+ cat
+ chmod +x /home/kevin/rpmbuild/BUILD/spotify-client-0.9.11.27.g2b1a638.81/find-requires.sh
+ exit 0
Exécution_de(%build) : /bin/sh -e /var/tmp/rpm-tmp.TlfF98
+ umask 022
+ cd /home/kevin/rpmbuild/BUILD
+ /usr/bin/rm -rf /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
++ dirname /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
+ /usr/bin/mkdir -p /home/kevin/rpmbuild/BUILDROOT
+ /usr/bin/mkdir /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
+ cd spotify-client-0.9.11.27.g2b1a638.81
+ exit 0
Exécution_de(%install) : /bin/sh -e /var/tmp/rpm-tmp.3fGnP8
+ umask 022
+ cd /home/kevin/rpmbuild/BUILD
+ cd spotify-client-0.9.11.27.g2b1a638.81
+ mv opt /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
+ desktop=/home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/spotify.desktop
+ sed -i 's/^\(MimeType=.*\);?$/\1;/i ;
s/^Categories=/Categories=AudioVideo;Music;Player;Jukebox;/' /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/spotify.desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-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/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/usr/share/doc/packages/spotify-client
+ mv usr/share/doc/spotify-client/changelog.Debian.gz usr/share/doc/spotify-client/copyright /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/usr/share/doc/packages/spotify-client/
+ cat
+ mkdir -p /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib
+ ln -sf ../Data/libcef.so /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib/libcef.so
+ mkdir -p /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/usr/bin
+ wrapper=/home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/usr/bin/spotify
+ cat
+ chmod +x /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/usr/bin/spotify
+ mkdir -p /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/usr/lib64
+ ln -sf /lib64/libcrypto.so.1.0.0 /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib/libcrypto.so.0.9.8
+ ln -sf /lib64/libssl.so.1.0.0 /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-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/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib/libnss3.so.1d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libnssutil3.so /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib/libnssutil3.so.1d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libsmime3.so /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib/libsmime3.so.1d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libplc4.so /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64/opt/spotify/spotify-client/lib/libplc4.so.0d
+ for lib in '"${libs[@]}"'
+ ln -sf /usr/lib64/libnspr4.so /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-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 kevin:users)
setting /opt/ to root:root 0755. (wrong owner/group kevin:users)
setting /usr/ to root:root 0755. (wrong owner/group kevin: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/preferences-gnome.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
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
Traitement des fichiers : spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
Trouver Provides : /usr/lib/rpm/find-provides spotify-client
Trouver Requires(interp) :
Trouver Requires(rpmlib) :
Trouver Requires(verify) :
Trouver Requires(pre) :
Trouver Requires(post) :
Trouver Requires(preun) :
Trouver Requires(postun) :
Trouver Requires(pretrans) :
Trouver Requires(posttrans) :
Trouver Requires : /home/kevin/rpmbuild/BUILD/spotify-client-0.9.11.27.g2b1a638.81/find-requires.sh
Provides: spotify-client = 0.9.11.27.g2b1a638.81-1 spotify-client(x86-64) = 0.9.11.27.g2b1a638.81-1 libcef.so()(64bit) 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
Vérification des fichiers non empaquetés : /usr/lib/rpm/check-files /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
attention : Ne peut canoniser le nom d'hôte : linux-s03u.site
Écrit : /home/kevin/rpmbuild/SRPMS/spotify-client-0.9.11.27.g2b1a638.81-1.nosrc.rpm
Écrit : /home/kevin/rpmbuild/RPMS/x86_64/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64.rpm
Exécution_de(%clean) : /bin/sh -e /var/tmp/rpm-tmp.NZZJXM
+ umask 022
+ cd /home/kevin/rpmbuild/BUILD
+ cd spotify-client-0.9.11.27.g2b1a638.81
+ /usr/bin/rm -rf /home/kevin/rpmbuild/BUILDROOT/spotify-client-0.9.11.27.g2b1a638.81-1.x86_64
+ rm -rf filelists
rpm successfully built!
Installing Spotify from the rpm we just built ...
Chargement des données du dépôt...
Lecture des paquets installés...
Résolution des dépendances des paquets...
Le NOUVEAU paquet suivant va être installé :
spotify-client
1 paquet à installer.
Taille de téléchargement totale : 38,4 MiB. Déjà en cache : 0 B Après l'opération, 123,5 MiB d'espace disque supplémentaire sera utilisé.
Continuer ? [o/n/? affiche toutes les options] (o): o
Récupération de paquet spotify-client-0.9.11.27.g2b1a638.81-1.x86_64 (1/1), 38,4 MiB (123,5 MiB décompressé)
Vérification des conflits de fichiers : .......................................................................................................................................................................[fait]
(1/1) Installation: spotify-client - 0.9.11.27.g2b1a638.81-1 ..................................................................................................................................................[fait]
Spotify can now be run via /usr/bin/spotify - happy listening!
$ spotify
./spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory Now I copy one lib from a 13.1 install and symlink another of running 13.2: $ sudo cp /old_install/libs/libcrypto.so.0.9.8 /opt/spotify/spotify-client/lib/libgcrypt.so.11
$ sudo ln -s /usr/lib64/libudev.so.1 /opt/spotify/spotify-client/lib/libudev.so.0 Then spotify works... |
Same as you here on a fresh 13.2 install |
I simply installed spotify per 'sudo zypper in spotify-installer', ignoring the warning. Then I installed |
Thanks! |
For anybody having problems with libgcrypt11 missing, that older version is available as a package from the openSUSE build service: https://software.opensuse.org/package/libgcrypt11 I installed it from the home:hennevogel repository, then Spotify also needed libudev.so.0, so I just installed the libudev0 package which is also available from that repository, and then Spotify works! :) |
Real nice |
hi all, hope these will help some of you (sorry for my bad english): for the new version (24 of march 2015) i had to update the following lines in \usr\bin\install-spotify: RPM_NAME="spotify-client" in \usr\src\packages\specs\spotify-client.spec the lines: Version: 0.9.17.1.g9b85d43.7 and tar -xpf data.tar.xz (old: tar -xzf data.tar.gz) and rm control.tar.gz data.tar.xz debian-binary (old: rm {control,data}.tar.gz debian-binary) and ln -sf ../Data/libcef.so %{buildroot}%{spotifylibdir}/libcef.so (old: ln -sf ../libcef.so %{buildroot}%{spotifylibdir}/libcef.so) Also I had to manually copy the install-spotify from \usr\bin\ to \home\rpmbuild\SOURCES and rename it to install-spotify.sh (I think these folders were created with the first run, wich returned several errors). With these changes I could install the latest verion of spotify. ps. i also had to install libgcrypt11, libudev0 before the above steps |
Hi, for the new version "spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb", i just change the following lines:
19 Group: Productivity/Multimedia/Sound/Players
20 Version: 0.9.17.1.g9b85d43.7 # New version
21 Release: 1
22 Source0: spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb # New version
23 NoSource: 0
...
64 # unpack data
65 tar -xf data.tar.xz # Change gz -> xz
66 # remove used files
67 rm data.tar.xz control.tar.gz # Add xz
22 # Name of file residing within official Spotify repository above
23 RPM_NAME="spotify-client"
24 VERSION="0.9.17.1.g9b85d43.7-1" # New version
25 BASENAME="${RPM_NAME}_$VERSION" Notice: I had to install |
I installed manually : rpm -ivh libgcrypt... form ftp://rpmfind.net/linux/opensuse/update/13.1/x86_64/libgcrypt11-1.5.4-2.4.1.x86_64.rpm |
Hi,
I have been using
opensuse-spotify-installer
for a while. I know about prefixinglibcef.so
withData
and actualize Spotify version in .spec files. But those good times seem to be over.I am running a brand new Opensuse 13.2, and using
opensuse-spotify-installer
looks like:Am I doing it wrong?
I am available for further information.
Kévin
The text was updated successfully, but these errors were encountered: