Spotify (Linux version) for OpenSUSE?

Already tried that, but then this happens:

> sudo alien -r spotify-client-qt_0.6.2.291.gcccc1f5.116-1_i386.deb 
root's password:
spotify-client-qt-0.6.2.291.gcccc1f5.116-2.i386.rpm generated
find: `spotify-client-qt-0.6.2.291.gcccc1f5.116': No such file or directory

Am 26.11.2011 15:36, schrieb pdedecker:
>
> Already tried that, but then this happens:
>
>
> Code:
> --------------------
> > sudo alien -r spotify-client-qt_0.6.2.291.gcccc1f5.116-1_i386.deb
> root’s password:
> spotify-client-qt-0.6.2.291.gcccc1f5.116-2.i386.rpm generated
> find: `spotify-client-qt-0.6.2.291.gcccc1f5.116’: No such file or directory


And what is your problem? It tells you that it successfully created an
rpm file.
Try to install it!


sudo zypper in spotify-client-qt-0.6.2.291.gcccc1f5.116-2.i386.rpm


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

I just figured it would be dangerous to install it because of that “no such file or directory” warning, thereby possibly breaking the RPM. Besides…

nothing provides libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) needed by spotify-client-qt-0.6.2.291.gcccc1f5.116-2.x86_64

Dependency hell is preventing me from installing it. I’m not gonna scoop up unofficial packages or add new repositories to accommodate this install, because then everyone will tell me I shouldn’t be using unofficial repositories again. So I’m afraid I have no “clean” options at this point.

Edit: yes, I did indeed switch to the 64-bit package.

Am 26.11.2011 15:56, schrieb pdedecker:
>
> I just figured it would be dangerous to install it because of that “no
> such file or directory” warning, thereby possibly breaking the RPM.
> Besides…
>
>
> Code:
> --------------------
> nothing provides libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) needed by spotify-client-qt-0.6.2.291.gcccc1f5.116-2.x86_64
> --------------------
>
install the corresponding rpm. On 11.4 it is libopenssl0_9_8 I think for
12.1 I do not know just search for it, in doubt download it and look
inside, this software uses a legacy crypto lib. It can be that even if
you install the corresponding lib that it complains then you have to
select that it ignores the dependency (but make sure that
libcrypto.so.0.9.8 is really available in /usr/lib64).

>
> Dependency hell is preventing me from installing it. I’m not gonna
> scoop up unofficial packages or add new repositories to accommodate this
> install, because then everyone will tell me I shouldn’t be using
> unofficial repositories again. So I’m afraid I have no “clean” options
> at this point.
No you have no clean options since this is proprietary software and the
vendor does not care about linux and does a pretty poor job, the deb
packages are also just “preview” which means alpha or beta quality software.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

I do have libcrypto.so.0.9.8 as part of libopenssl0_9_8. Is there a way to convince RPM that I do have this package as part of libopenssl0_9_8 or do I have to force install?

> sudo rpm -i spotify-client-qt-0.6.2.291.gcccc1f5.116-2.x86_64.rpm 
error: Failed dependencies:                                                                                                                                                                          
        libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by spotify-client-qt-0.6.2.291.gcccc1f5.116-2.x86_64                                                                                      
        libssl.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by spotify-client-qt-0.6.2.291.gcccc1f5.116-2.x86_64                                                                                         
> rpm -ql libopenssl0_9_8                                                                                                                                              
/usr/lib64/libcrypto.so.0.9.8                                                                                                                                                                        
/usr/lib64/libssl.so.0.9.8                                                     

Am 26.11.2011 17:36, schrieb pdedecker:
>
> I do have libcrypto.so.0.9.8 as part of libopenssl0_9_8. Is there a way
> to convince RPM that I do have this package as part of libopenssl0_9_8
> or do I have to force install?
>
Force the install, your problem is that the deb file contains the
dependency in a way the converted rpm does simply not recognice that you
have the dependency fulfilled. alien does often a good job but it cannot
do black magic and sometimes cannot translate that into the format and
names used on all the rpm systems.

If it fails to run after install post the output to dig deeper.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

Thanks – it’s working now. Hopefully they’ll do something about the 25% CPU usage soon, but it still beats using a crashing Wine application.

Am 26.11.2011 18:16, schrieb pdedecker:
>
> Thanks – it’s working now. Hopefully they’ll do something about the 25%
> CPU usage soon, but it still beats using a crashing Wine application.
>
>
Contact them directly in a polite way (I’ld guess how to contact them is
on their home page) and point them to all the linux users out there who
want to use it, no idea if they care, but you can try.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

I’m giving Grooveshark a try. It seems to have most stuff Spotify has. Also it seems to be less messy (no random “not available track”, probably no disappearance, during a certain time, of complete albums either). I wonder what it’s downsides are…
The best part. You only need your browser (probably demands flash or something though)!

Grooveshark is nice and all, but apparently they’re not playing nice with the record labels. They honor DMCA requests, but they seem to be operating in a grey area. On Grooveshark most tracks are user-uploaded, so the quality varies. ID3 tags are not always right either. On the upside, there are no audio ads between songs.

I converted using alien the latest Spotify deb package, ignored the libcrypt dependence and everything works fine.

Not extra CPU usage. I think it has the same CPU behavior than my ubuntu box had.

Best.

Miguel

I could not manage to go past the broken dependencies, “–force” doesn’t achieve anything, while “–nodeps” installs a broken application, in the sense that when I try to run spotify from the terminal I get the following:

/usr/bin/spotify: /usr/lib/libcrypto.so.0.9.8: no version information available (required by /usr/bin/spotify)
/usr/bin/spotify: /usr/lib/libssl.so.0.9.8: no version information available (required by /usr/bin/spotify)
*** glibc detected *** /usr/bin/spotify: malloc(): memory corruption: 0x08a71fe0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6dfbb)[0xf5202fbb]
/lib/libc.so.6(+0x7010f)[0xf520510f]
/lib/libc.so.6(__libc_malloc+0x6a)[0xf52075ea]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep9_S_createEjjRKSaIcE+0x66)[0xf7675126]
/usr/lib/libstdc++.so.6(_ZNSs9_M_mutateEjjj+0x57)[0xf7675407]
/usr/lib/libstdc++.so.6(_ZNSs15_M_replace_safeEjjPKcj+0x3a)[0xf76755ca]
/usr/lib/libstdc++.so.6(_ZNSs6assignEPKcj+0x5e)[0xf767568e]
/usr/bin/spotify(_ZN15google_breakpad16ExceptionHandler12UpdateNextIDEv+0x74)[0x86096c4]
/usr/bin/spotify(_ZN15google_breakpad16ExceptionHandler4InitERKSsi+0xc0)[0x860a030]
/usr/bin/spotify(_ZN15google_breakpad16ExceptionHandlerC1ERKSsPFbPvEPFbPKcS7_S3_bES3_b+0x7a)[0x860a2da]
/usr/lib/gtk-2.0/modules/libgnomebreakpad.so(gtk_module_init+0xce)[0xf3470c8e]
/usr/lib/libgtk-x11-2.0.so.0(+0x155025)[0xf4046025]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__PARAM+0x93)[0xf4e86d13]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1e2)[0xf4e6cf42]
/usr/lib/libgobject-2.0.so.0(+0x197cc)[0xf4e7c7cc]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7e4)[0xf4e859c4]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x27)[0xf4e85b57]
/usr/lib/libgobject-2.0.so.0(+0xbc6f)[0xf4e6ec6f]
/usr/lib/libgobject-2.0.so.0(+0xafbf)[0xf4e6dfbf]
/usr/lib/libgobject-2.0.so.0(g_object_notify+0x2c1)[0xf4e70341]
/usr/lib/libgdk-x11-2.0.so.0(gdk_display_manager_set_default_display+0x38)[0xf3e5fad8]
/usr/lib/libgdk-x11-2.0.so.0(gdk_display_open_default_libgtk_only+0x9c)[0xf3e5c52c]
/usr/lib/libgtk-x11-2.0.so.0(gtk_init_check+0x31)[0xf4029b61]
/usr/lib/libgtk-x11-2.0.so.0(gtk_init+0x24)[0xf4029b94]
/usr/lib/libQtGui.so.4(+0x504466)[0xf7062466]
/usr/lib/libQtGui.so.4(+0x5034d2)[0xf70614d2]
/usr/lib/libQtGui.so.4(_ZN9QGtkStyleC1Ev+0x56)[0xf7042ef6]
/usr/lib/libQtGui.so.4(_ZN13QStyleFactory6createERK7QString+0x226)[0xf6fafd46]
/usr/lib/libQtGui.so.4(_ZN12QApplication5styleEv+0x8c)[0xf6c99f0c]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate10initializeEv+0x13d)[0xf6c9b39d]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate9constructEP9_XDisplaymm+0x76)[0xf6c9b446]
/usr/lib/libQtGui.so.4(_ZN12QApplicationC2ERiPPci+0x86)[0xf6c9bcc6]
/usr/bin/spotify[0x806bdc0]
/usr/bin/spotify[0x806ce2c]
/lib/libc.so.6(__libc_start_main+0xfe)[0xf51abc0e]
/usr/bin/spotify[0x805d8a1]
======= Memory map: ========
...

Note that both libssl and libcrypto exist with the right version, in both /usr/lib and in /usr/lib64.

heyyy

i did install spotify now just the way it was said here, forced the install. it seemed to work, but then exactly when i log in it crashes. just like when running it in wine. …
what could be wrong, what to do?
it does not help to delete the spotify-files in .cache and .config, as i read in some other places could be the sollution.
and yeh i use opensuse 12.1
i dont know is there any more i should tell.

/new bi e.

I had the same problem. The newest spotify upgrade has a new licence agreement that you have to agree on once. After i opened spotify in windows and agreed to the agreement, it worked on linux again.

Dont know why it crashes due to this…

/Vein

I made it long time ago. you may search with users’ home enabled. two versions. one testing, one stable, in 2 different repositories.

But myself I quit using Spotify. I pay, I use. not I pay, I use where exactly I am. when I fly to Hongkong, oh, you have to be Unlimited instead of Premium. You have to pay for you movement, like gas tax.

Hi

I have made a script that tries to automate and simplify the installation of Spotify on openSUSE.

It converts the Ubuntu .deb package to .rpm package and installs it.

You can download it and give it a test run if you want to.

Download Script

Regards

Marcus

Almost flawless! Script stopped after converting the deb to rpm.

spotify-client-qt-0.6.6.10.gbd39032.58-1.x86_64.rpm generated
find: `spotify-client-qt-0.6.6.10.gbd39032.58’: No such file or directory

Solution:

cd /tmp; sudo rpm -i --force --nodeps --quiet spotify-client-qt-0.6.6.10.gbd39032.58-1.x86_64.rpm

My Wine Spotify stopped working after updates… no time to troubleshoot, big thanks for bringing back the music.

If anyone feels particularly lazy, I packaged the current version once again (spotify-client-qt-0.6.6.10), readjusting the requires. No need to force the installation any longer.
x86_64 version, tested on 11.4 and sles11sp1 available here


Blog:eotchi’s QR moods
Twitter: eotchi

I get segmentation fault error when I click on “Connect to Facebook” or I move a song to a playlist.

Are you getting any of these issues?

Thanks!

Best.

Miguel

Hi, I tried your script, unfortunately I got the following error message( Apologies for the German output):

Paket libopenssl0_9_8-0.9.8m-11.1.2.x86_64 wird abgerufen (1/1), 593,0 KiB (1,9 MiB entpackt)
Abruf: libopenssl0_9_8-0.9.8m-11.1.2.x86_64.rpm [fertig]
Installation von: libopenssl0_9_8-0.9.8m-11.1.2 [fertig]
asking libproxy about url ‘http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_0.6.6.10.gbd39032.58-1_amd64.deb
libproxy suggest to use ‘direct://’
–2012-04-03 22:00:58-- http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_0.6.6.10.gbd39032.58-1_amd64.deb
Auflösen des Hostnamen »repository.spotify.com (repository.spotify.com)«… 78.31.8.20
Verbindungsaufbau zu repository.spotify.com (repository.spotify.com)|78.31.8.20|:80… verbunden.
HTTP-Anforderung gesendet, warte auf Antwort… 404 Not Found
2012-04-03 22:00:58 FEHLER 404: Not Found.

File “spotify-client-qt_0.6.6.10.gbd39032.58-1_amd64.deb” not found.
error: File not found by glob: /tmp/spotify-client-qt*.rpm

it seems the link in the script is not up to date anymore. As I’m a total newbie with linux, I would be very grateful if you could update it