Installing Spotify

Get help with XFCE specific problems
Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing Spotify

Post#16 by Jacoby59 » 29 Jul 2015, 06:06

sunnysideofthesun wrote:Or maybe you could use ldd to see if all needed libraries are present (if Porteus includes ldd by default)
I'm assuming porteus doesn't include ldd by default, because I keep getting the message "ldd: ./spotify: No such file or directory"

beny
Full of knowledge
Full of knowledge
Posts: 733
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#17 by beny » 29 Jul 2015, 11:51

hi jacoby59,well you need cups and openssl,but don't work in xfce, under kde you can login into spotify please do a try with kde the qt environment. i use xfce4 but i have also the qt 4 installed.


root@porteus:~# ldd /opt/spotify/spotify-client/spotify
/opt/spotify/spotify-client/spotify: /opt/spotify/spotify-client/libcrypto.so.0.9.8: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /opt/spotify/spotify-client/libssl.so.0.9.8: no version information available (required by /opt/spotify/spotify-client/spotify)
linux-gate.so.1 (0xb770e000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb76d9000)
librt.so.1 => /lib/librt.so.1 (0xb76d0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb75e8000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb74ba000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb74b7000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6cfc000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6adc000)
libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb6a89000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb69b5000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6927000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb64be000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb640f000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb62d5000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb628b000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6269000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6101000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb60e0000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6092000)
libcef.so => /opt/spotify/spotify-client/Data/libcef.so (0xb2538000)
libm.so.6 => /lib/libm.so.6 (0xb24f6000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb241e000)
libXss.so.1 => /usr/lib/libXss.so.1 (0xb241b000)
libdl.so.2 => /lib/libdl.so.2 (0xb2416000)
libssl.so.0.9.8 => /opt/spotify/spotify-client/libssl.so.0.9.8 (0xb23b3000)
libcrypto.so.0.9.8 => /opt/spotify/spotify-client/libcrypto.so.0.9.8 (0xb21fd000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb21e2000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb21c6000)
libc.so.6 => /lib/libc.so.6 (0xb203a000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb1f03000)
/lib/ld-linux.so.2 (0xb770f000)
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb1ed8000)
libz.so.1 => /lib/libz.so.1 (0xb1ec1000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb1eb9000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb1ea0000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb1e96000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb1e5d000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb1e4b000)
libQtXml.so.4 => /usr/lib/qt/lib/libQtXml.so.4 (0xb1e1b000)
libbz2.so.1 => /lib/libbz2.so.1 (0xb1e0a000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb1e07000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb1df8000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb1dee000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb1de3000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb1dd7000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb1d45000)
libicule.so.51 => /usr/lib/libicule.so.51 (0xb1cf3000)
libicuuc.so.51 => /usr/lib/libicuuc.so.51 (0xb1ba2000)
libicudata.so.51 => /usr/lib/libicudata.so.51 (0xb0656000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb0653000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb0650000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb064b000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb05c4000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb05c0000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb05be000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb05b5000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb0595000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb0592000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb058b000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb0577000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb0573000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb054c000)
libffi.so.6 => /usr/lib/libffi.so.6 (0xb0546000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0xb052f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb0453000)
libnss3.so.1d => /opt/spotify/spotify-client/libnss3.so.1d (0xb032a000)
libnssutil3.so.1d => /opt/spotify/spotify-client/libnssutil3.so.1d (0xb0304000)
libsmime3.so.1d => /opt/spotify/spotify-client/libsmime3.so.1d (0xb02dd000)
libplc4.so.0d => /opt/spotify/spotify-client/libplc4.so.0d (0xb02d7000)
libnspr4.so.0d => /opt/spotify/spotify-client/libnspr4.so.0d (0xb0298000)
libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb0274000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb022a000)
libcups.so.2 => /usr/lib/libcups.so.2 (0xb01e4000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb015e000)
libudev.so.0 => /lib/libudev.so.0 (0xb014f000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb014b000)
libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb0145000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb013e000)
libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0xb013b000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb012f000)
libnvidia-tls.so.304.123 => /usr/lib/tls/libnvidia-tls.so.304.123 (0xb012a000)
libnvidia-glcore.so.304.123 => /usr/lib/libnvidia-glcore.so.304.123 (0xae424000)
libplds4.so => /usr/lib/libplds4.so (0xae420000)
libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xae3fa000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xae3c6000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xae3c2000)
root@porteus:~#

Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing Spotify

Post#18 by Jacoby59 » 29 Jul 2015, 13:28

Hmm so you're saying that if I install it under KDE, Spotify will work right off the bat and no additional dependencies will be required?

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: Installing Spotify

Post#19 by francois » 29 Jul 2015, 15:18

Beny means that it might be a lot more easy to install the missing dependencies with kde. Try spotify command line and see what is the output message. But it might also work out of the bath. Do you know the extramod cheatcode to go from the xfce to the kde environment?

He wrote that you should install the following packages for spotify to work: cups and openssl. So add printing.xzm which comprises cups. According to mlocate openssl is under kde:

Code: Select all

root@porteus:~# locate openssl
/var/log/packages/openssl-1.0.1j-x86_64-1_slack14.1
/usr/lib64/libevent_openssl-2.0.so.5
/usr/lib64/libevent_openssl-2.0.so.5.1.9
/usr/lib64/libevent_openssl.so
/usr/lib64/pkgconfig/libevent_openssl.pc
/usr/lib64/pkgconfig/openssl.pc
/usr/lib64/libgnutls-openssl.la
/usr/lib64/libgnutls-openssl.so
/usr/lib64/libgnutls-openssl.so.27
/usr/lib64/libgnutls-openssl.so.27.0.2
/usr/bin/openssl
...
Carpe diem.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5656
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Installing Spotify

Post#20 by brokenman » 02 Sep 2015, 03:36

Code: Select all

root@porteus:~# ldd /opt/spotify/spotify-client/spotify 
/opt/spotify/spotify-client/spotify: /opt/spotify/spotify-client/libcrypto.so.0.9.8: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /opt/spotify/spotify-client/libssl.so.0.9.8: no version information available (required by /opt/spotify/spotify-client/spotify)
So use usm to grab qt4.
Then use usm to search for which packages contain these missing libraries above.

Code: Select all

usm -s libcrypto.so.0.9.8
Continue this process until ldd /opt/spotify/spotify-client/spotify doesn't complain about missing libraries and then try to run it.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply