-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Description
Issue description
When I start Spotify, it briefly flashes its main window, loads all playlists, then quits with the following message:
/nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/share/spotify/.spotify-wrapped:
symbol lookup error: /nix/store/0x6mwl...-curl-7.47.1/lib/libcurl.so.4: undefined symbol:
SSL_CTX_set_alpn_protos
Spotify seems to ship its own libssl which is apparently incompatible with the one libcurl expects.
Steps to reproduce
- Install spotify (I used
nix-shell --pure -p spotify) - Start spotify (
spotify)
Technical details
From inside the nix shell:
[nix-shell:~]$ spotify --version
/nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/bin/spotify: /nix/store/0x6mw...-curl-7.47.1/lib/libcurl.so.4: no version information available (required by /nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/bin/spotify)
/nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/bin/spotify: /nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/lib/spotify/libssl.so.1.0.0: no version information available (required by /nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/bin/spotify)
/nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/bin/spotify: /nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/lib/spotify/libcrypto.so.1.0.0: no version information available (required by /nix/store/l0361...-spotify-1.0.26.125.g64dc8bc6-15/bin/spotify)
Spotify version 1.0.26.125.g64dc8bc6, Copyright (c) 2016, Spotify Ltd[nix-shell:~]$ curl-config --version
libcurl 7.47.1[nix-shell:~]$ curl-config --features
SSL
IPv6
UnixSockets
libz
NTLM
NTLM_WB
TLS-SRP
HTTP2[nix-shell:~]$ curl-config --configure
'--disable-static' '--disable-dependency-tracking' '--prefix=/nix/store/0x6mwlvy3wp0zgph638kjq2v50nd9gxj-curl-7.47.1' '--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt' '--disable-manual' '--with-nghttp2=/nix/store/07p7mcgmgn0fpslvzwszhx0a52il69jg-libnghttp2-1.8.0' '--with-ssl=/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g' '--with-libssh2=/nix/store/riilgjaqdgp2na4y4dhd62bxfc8jy7dm-libssh2-1.7.0' '--disable-ldap' '--disable-ldaps' '--without-libidn' 'CC=gcc'
Outside:
~ » nixos-version
16.09pre80183.551296a (Flounder)
~ » nix-env --version
nix-env (Nix) 1.11.2
~ » nix-instantiate --eval '' -A lib.nixpkgsVersion
"16.09pre80183.551296a"