Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Spotify Linux Client
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
bchaser33
n00b
n00b


Joined: 20 Sep 2010
Posts: 7

PostPosted: Tue Oct 04, 2011 12:44 am    Post subject: Spotify Linux Client Reply with quote

After updating the ebuild from piczu to the current deb at http://repository.spotify.com/pool/non-free/s/spotify/ I ended up with
Quote:
$ spotify
spotify: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory


Couple of ln -s later I ended up with
Quote:
$ spotify
spotify: /usr/lib64/libcrypto.so.0.9.8: no version information available (required by spotify)
spotify: /usr/lib64/libssl.so.0.9.8: no version information available (required by spotify)


Wasn't able to login
Quote:
00:40:30.368 I [ap:1751] Connecting to AP B10.spotify.com:4070
00:40:31.056 I [ap:1209] Connected to AP: 193.182.8.46:4070
00:40:31.777 E [ap:4126] Connection error: 410
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Tue Oct 04, 2011 1:38 am    Post subject: Reply with quote

When you see the warning "no version information available" it means that the binary has been built with a later version of the library than installed on your system, in this case openssl. (Some information about that here: http://stackoverflow.com/questions/137773/what-does-the-no-version-information-available-error-from-linux-dynamic-linker)

Do you have openssl-1.0 installed on your system?
Back to top
View user's profile Send private message
azp
Guru
Guru


Joined: 16 Nov 2003
Posts: 432
Location: Stockholm, Sweden

PostPosted: Tue Oct 04, 2011 2:28 pm    Post subject: Reply with quote

I have the same issue, and I have openssl-1.0.0 installed.

Code:
spotify: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory


I thought I could fix this by a revdep-rebuild, but I guess that since Spotify is binary distributed, it doesn't help.
Code:
# ldd /usr/bin/spotify
   linux-vdso.so.1 =>  (0x00007fffd27ff000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc4a6f0b000)
   librt.so.1 => /lib64/librt.so.1 (0x00007fc4a6d02000)
   libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6 (0x00007fc4a69f9000)
   libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007fc4a5d74000)
   libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007fc4a58de000)
   libQtWebKit.so.4 => /usr/lib64/qt4/libQtWebKit.so.4 (0x00007fc4a417e000)
   libQtDBus.so.4 => /usr/lib64/qt4/libQtDBus.so.4 (0x00007fc4a3f06000)
   libQtNetwork.so.4 => /usr/lib64/qt4/libQtNetwork.so.4 (0x00007fc4a3bd2000)
   libXss.so.1 => /usr/lib64/libXss.so.1 (0x00007fc4a39ce000)
   libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007fc4a36ef000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007fc4a34eb000)
   libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fc4a32d4000)
   libssl.so.0.9.8 => not found
   libcrypto.so.0.9.8 => not found
   libm.so.6 => /lib64/libm.so.6 (0x00007fc4a3052000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc4a2e3c000)
   libc.so.6 => /lib64/libc.so.6 (0x00007fc4a2ab1000)
   libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fc4a2770000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fc4a7128000)
   libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fc4a244d000)
   libaudio.so.2 => /usr/lib64/libaudio.so.2 (0x00007fc4a2233000)
   libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007fc4a2009000)
   libz.so.1 => /lib64/libz.so.1 (0x00007fc4a1df4000)
   libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fc4a1b57000)
   libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fc4a194e000)
   libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fc4a1732000)
   libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fc4a1527000)
   libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fc4a131e000)
   libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007fc4a111b000)
   libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fc4a0ee5000)
   libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fc4a0cd2000)
   libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fc4a0acd000)
   libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007fc4a082a000)
   libphonon.so.4 => /usr/lib64/libphonon.so.4 (0x00007fc4a05b5000)
   libQtXml.so.4 => /usr/lib64/qt4/libQtXml.so.4 (0x00007fc4a0370000)
   libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007fc4a0133000)
   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fc49ff16000)
   libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007fc49fcaf000)
   libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fc49faab000)
   libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fc49f89b000)
   libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fc49f696000)
   libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fc49f46c000)
   libpulse.so.0 => /usr/lib64/libpulse.so.0 (0x00007fc49f222000)
   libpulse-mainloop-glib.so.0 => /usr/lib64/libpulse-mainloop-glib.so.0 (0x00007fc49f01d000)
   libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fc49ee17000)
   libjson.so.0 => /usr/lib64/libjson.so.0 (0x00007fc49ec0f000)
   libpulsecommon-1.0.so => /usr/lib64/libpulsecommon-1.0.so (0x00007fc49e9ac000)
   libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007fc49e7aa000)
   libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007fc49e5a3000)
   libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fc49e393000)
   libwrap.so.0 => /lib64/libwrap.so.0 (0x00007fc49e18a000)
   libsndfile.so.1 => /usr/lib64/libsndfile.so.1 (0x00007fc49df22000)
   libFLAC.so.8 => /usr/lib64/libFLAC.so.8 (0x00007fc49dce9000)
   libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007fc49d81a000)
   libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007fc49d5ee000)
   libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007fc49d3e7000)
   libasyncns.so.0 => /usr/lib64/libasyncns.so.0 (0x00007fc49d1e2000)
   libgdbm.so.4 => /usr/lib64/libgdbm.so.4 (0x00007fc49cfda000)
   libcap.so.2 => /lib64/libcap.so.2 (0x00007fc49cdd4000)
   libattr.so.1 => /lib64/libattr.so.1 (0x00007fc49cbcf000)


My libssl/libcrypto is:


Code:
# ll /usr/lib64/libssl*
lrwxrwxrwx 1 root root   13 28 aug 22.25 /usr/lib64/libssl3.so -> libssl3.so.12*
-rwxr-xr-x 1 root root 229K 28 aug 22.25 /usr/lib64/libssl3.so.12*
-rw-r--r-- 1 root root 627K  8 sep 19.43 /usr/lib64/libssl.a
lrwxrwxrwx 1 root root   15  8 sep 19.43 /usr/lib64/libssl.so -> libssl.so.1.0.0*
-r-xr-xr-x 1 root root 369K  8 sep 19.43 /usr/lib64/libssl.so.1.0.0*

# ll /usr/lib64/libcrypto*
-rw-r--r-- 1 root root 3,5M  8 sep 19.43 /usr/lib64/libcrypto.a
lrwxrwxrwx 1 root root   18  8 sep 19.43 /usr/lib64/libcrypto.so -> libcrypto.so.1.0.0*
-r-xr-xr-x 1 root root 1,7M  8 sep 19.43 /usr/lib64/libcrypto.so.1.0.0*


Revdep-rebuild does state that Spotify needs to be re-emerged, but it makes no difference.

Code:
root@skare$ revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 16% ]  *   broken /usr/bin/spotify (requires libcrypto.so.0.9.8
libssl.so.0.9.8)     
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/bin/spotify -> media-sound/spotify
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot --jobs=9 --load-average=19 --keep-going media-sound/spotify:0
..........
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 1) media-sound/spotify-0.6.1.309 from portage_overlay
>>> Installing (1 of 1) media-sound/spotify-0.6.1.309


Any ideas? Fixable?
_________________
Weeks of coding can save you hours of planning.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Tue Oct 04, 2011 3:45 pm    Post subject: Reply with quote

After looking at what azp posted, I think the binary is actually saying it wants openssl-0.9.8, but it can't find it. What happens when you install the 0.9.8 slot?
Code:
emerge openssl:0.9.8
Back to top
View user's profile Send private message
bchaser33
n00b
n00b


Joined: 20 Sep 2010
Posts: 7

PostPosted: Tue Oct 04, 2011 10:58 pm    Post subject: Reply with quote

mikegpitt wrote:
After looking at what azp posted, I think the binary is actually saying it wants openssl-0.9.8, but it can't find it. What happens when you install the 0.9.8 slot?
Code:
emerge openssl:0.9.8


Added dev-libs/openssl-0.9.8r to a new slot and spotify still complained of no version info
Then removed both versions of openssl and just used 0.9.8 and re-emerged spotify. Still can't login and still complains of version info
Quote:
pleiades # ls -l /usr/lib64/libssl*
lrwxrwxrwx 1 root root 13 Aug 31 17:48 /usr/lib64/libssl3.so -> libssl3.so.12
-rwxr-xr-x 1 root root 262720 Aug 31 17:48 /usr/lib64/libssl3.so.12
-rwxr-xr-x 1 root root 371600 Oct 4 17:37 /usr/lib64/libssl.so.0.9.8

pleiades # ls -l /usr/lib64/libcrypto*
-rwxr-xr-x 1 root root 1824984 Oct 4 17:37 /usr/lib64/libcrypto.so.0.9.8



Quote:
$ ldd /usr/bin/spotify
/usr/bin/spotify: /usr/lib64/libcrypto.so.0.9.8: no version information available (required by /usr/bin/spotify)
/usr/bin/spotify: /usr/lib64/libssl.so.0.9.8: no version information available (required by /usr/bin/spotify)
snip
libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007fda82ef7000)
libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007fda82b36000)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum