<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: libcurl4 in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4468864#M16385</link>
    <description>&lt;P&gt;It's now in stable repo.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2018 12:27:23 GMT</pubDate>
    <dc:creator>encolpe</dc:creator>
    <dc:date>2018-04-30T12:27:23Z</dc:date>
    <item>
      <title>libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4411011#M15902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the upcoming LTS Release of Ubuntu (Bionic) uses libcurl4, and that conflicts with libcurl3.&lt;/P&gt;&lt;P&gt;But the Spotify Desktop client depends on libcurl3...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to rebuild (a version of) spotify against libcurl4 for the Debian/Ubuntu repository?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Background-info why they upgraded/renamed to libcurl4 see &lt;A href="https://launchpad.net/ubuntu/+source/curl/7.58.0-2ubuntu2" target="_blank"&gt;https://launchpad.net/ubuntu/+source/curl/7.58.0-2ubuntu2&lt;/A&gt; :&lt;/P&gt;&lt;PRE&gt;  * Rename libcurl3 to libcurl4, because libcurl exposes an SSL_CTX via
    CURLOPT_SSL_CTX_FUNCTION, and this object changes incompatibly between
    openssl 1.0 and openssl 1.1.
  * debian/patches/03_keep_symbols_compat.patch: drop, since we are no longer
    claiming compatibility.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 08:36:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4411011#M15902</guid>
      <dc:creator>mfonville</dc:creator>
      <dc:date>2018-03-09T08:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4415113#M15914</link>
      <description>&lt;P&gt;Also see this bug report:&amp;nbsp;&lt;A href="https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754686" target="_blank"&gt;https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754686&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Mar 2018 14:37:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4415113#M15914</guid>
      <dc:creator>mfonville</dc:creator>
      <dc:date>2018-03-11T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4415174#M15915</link>
      <description>&lt;P&gt;I'd also like to request a rebuild against libcurl4.&amp;nbsp; I doubt they'll work around this in Ubuntu, as it doesn't affect any of the 1st party packages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even on my system, with 5 different desktops, all their default apps, and a lot of 3rd party packages, only the spotify-client package conflicts with the libcurl update.&amp;nbsp; So, fixing spotify and the few other packages that might need it is probably not much more work and avoids backpeddling on security issues.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Mar 2018 16:13:51 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4415174#M15915</guid>
      <dc:creator>3vi1</dc:creator>
      <dc:date>2018-03-11T16:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4417593#M15927</link>
      <description>&lt;P&gt;This feels like it might be as painful as the libssl problems we have had. In fact, they are related. The recommended workaround right now&amp;nbsp;would be to remove the debian package and install the snap instead.&lt;/P&gt;
&lt;PRE&gt;sudo apt remove spotify-client
snap install spotify&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nobody is working actively on the build, test and release infrastructure&amp;nbsp;for the linux desktop client. Setting that up for one additional released artifact per commit will be problematic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Building against libcurl4 _instead_ of libcurl3 would be easier, but then suddenly all users who can't easily install libcurl4 won't be able to install the client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I managed to change our old libssl dependency to dynamically load the version of libssl you have installed. I can't do that here, since the code that uses curl is shared by other non-desktop clients. It is possible, but not trivial.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way out could be to build against libcurl3-gnutls or libcurl3-nss. I will try that, because it should be fairly easy to test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:16:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4417593#M15927</guid>
      <dc:creator>jooon</dc:creator>
      <dc:date>2018-03-13T15:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4417928#M15928</link>
      <description>&lt;P&gt;Thanks for your response jooon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use for now the snap-build as workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The incompabitlity between libcurl3 and libcurl4 for users is indeed a tricky problem.&lt;/P&gt;&lt;P&gt;Maybe that a static-link can offer a solution? Or as last resort distributing two different versions of the client?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 19:21:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4417928#M15928</guid>
      <dc:creator>mfonville</dc:creator>
      <dc:date>2018-03-13T19:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4435574#M16039</link>
      <description>&lt;P&gt;Any progress on building against those other flavors of libcurl3? I'm using the snap as per your suggestion for the time being but it just doesn't offer the same responsiveness as the .deb package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did test the candidate version of the snap to see if it performed more like the deb package, but sadly it crashed everytime I tried to open it. The error messages are below in case it helps the dev team at all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;&lt;SPAN&gt;ATTENTION: default value of option force_s3tc_enable overridden by environment. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;libGL error: No matching fbConfigs or visuals found&lt;BR /&gt;libGL error: failed to load driver: swrast &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;[ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;[ERROR:gpu_info_collector.cc(62)] gl::GLContext::MakeCurrent() failed &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;[ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;[ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm running Kubuntu 18.04 LTS Beta 1 on a Lenovo ThinkPad T420s&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 04:09:50 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4435574#M16039</guid>
      <dc:creator>RScholar</dc:creator>
      <dc:date>2018-03-29T04:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4435771#M16040</link>
      <description>&lt;P&gt;I uploaded a workaround to the testing debian repository.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you follow the installation instructions at &lt;A href="https://www.spotify.com/download/linux/" target="_blank"&gt;https://www.spotify.com/download/linux/&lt;/A&gt; you just need to replace the word stable with testing. Instead of:&lt;/P&gt;
&lt;PRE&gt;deb http://repository.spotify.com stable non-free&lt;/PRE&gt;
&lt;P&gt;it should say:&lt;/P&gt;
&lt;PRE&gt;deb http://repository.spotify.com testing non-free&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 08:15:11 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4435771#M16040</guid>
      <dc:creator>jooon</dc:creator>
      <dc:date>2018-03-29T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4437363#M16058</link>
      <description>&lt;P&gt;I'm not sure if you want bug reports here or in the debian stretch thread, but I've experienced failure as well with the new build.&amp;nbsp; We (gentoo) do not package libcurl-gnutls.so.4 as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tested building curl against gnutls and get the same failure.&amp;nbsp; I did have to patch the spotify ELF to point to the libcurl shared object though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the error...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;spotify&lt;BR /&gt;/opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify)&lt;BR /&gt;/opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify)&lt;BR /&gt;/proc/self/exe: /usr/lib64/libcurl.so.4: no version information available (required by /proc/self/exe)&lt;BR /&gt;terminate called after throwing an instance of 'boost::exception_detail::clone_impl&amp;lt;boost::exception_detail::error_info_injector&amp;lt;boost::system::system_error&amp;gt; &amp;gt;'&lt;BR /&gt;what(): set_option: Cannot assign requested address&lt;BR /&gt;Aborted (core dumped)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the 'most correct' solution may be to do the ifdef madness I think you aluded to earlier in the thread.&amp;nbsp; Then after some deprication time frame switch over to the new libcurl (probably whenever the mobile apps can link against it?).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 16:00:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4437363#M16058</guid>
      <dc:creator>prometheanfire</dc:creator>
      <dc:date>2018-03-30T16:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4441268#M16083</link>
      <description>&lt;P&gt;The snap is broken this morning for me on 18.04LTS, so&amp;nbsp;I'm back to the web client because of the libcurl compatibility issue with the spotify-client install.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;spotify_spotify.desktop[8172]: failed to create prefix path: /tmp/snap.rootfs_C2D74Z/var/lib/snapd/lib/vulkan/icd.d: Permission denied&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:14:18 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4441268#M16083</guid>
      <dc:creator>Phiro69</dc:creator>
      <dc:date>2018-04-03T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4441288#M16085</link>
      <description>&lt;P&gt;I switched over to the testing deb repository:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;~ &amp;gt; cat /etc/apt/sources.list.d/spotify.list &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;deb &lt;A href="http://repository.spotify.com" target="_blank"&gt;http://repository.spotify.com&lt;/A&gt; testing non-free&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;And I can now install spotify-client, and run it without problems on Ubuntu 18.04.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;~ &amp;gt; dpkg -l | grep spotify&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ii spotify-client 1:1.0.77.338.g758ebd78-41 amd64 Spotify streaming music client&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:29:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4441288#M16085</guid>
      <dc:creator>HcE</dc:creator>
      <dc:date>2018-04-03T14:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4441389#M16086</link>
      <description>&lt;P&gt;Thank you sir, that fixed it. Spotify should update their Linux install instructions to include the testing repo as an option:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
# Stable Repo
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# Testing Repo
echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update;sudo apt install spotify-client&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Apr 2018 15:54:26 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4441389#M16086</guid>
      <dc:creator>Phiro69</dc:creator>
      <dc:date>2018-04-03T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4444028#M16094</link>
      <description>&lt;P&gt;Has anyone tried to take the libcurl library from an older version of Ubuntu and put it on the path? Maybe its more trouble than its worth, but you could:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set up a VM with Ubuntu 17.10&lt;/LI&gt;&lt;LI&gt;Install Spotify&lt;/LI&gt;&lt;LI&gt;Find the binary (/usr/share/spotify/spotify)&lt;/LI&gt;&lt;LI&gt;Run &lt;EM&gt;&lt;U&gt;ldd&lt;/U&gt;&lt;/EM&gt;, which shows the libraries needed.&lt;/LI&gt;&lt;LI&gt;Copy the needed library to your host system, likely placing it in &lt;U&gt;&lt;EM&gt;/usr/lib/x86_64-linux-gnu/&lt;/EM&gt;&lt;/U&gt;.&lt;/LI&gt;&lt;LI&gt;Run: &lt;U&gt;&lt;EM&gt;sudo ldconfig&lt;/EM&gt;&lt;/U&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This is a hack, but it puts the needed library on the newer distro version, and doesn't conflict with the prior versions, since the libary versions are in the filename. So it shouldn't interfere with your other programs. Just a thought. The only problem is the rabbit hole of depencies, if the library you move over then has it's own dependencies.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 01:27:34 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4444028#M16094</guid>
      <dc:creator>doktorzee</dc:creator>
      <dc:date>2018-04-06T01:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4468864#M16385</link>
      <description>&lt;P&gt;It's now in stable repo.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 12:27:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4468864#M16385</guid>
      <dc:creator>encolpe</dc:creator>
      <dc:date>2018-04-30T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4501222#M16507</link>
      <description>&lt;P&gt;I see the new spotify-client for amd64 arch in the testing directory but there is no corresponding libcurl4 spotify-client for i386.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to build the i386 version as well?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 18:47:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4501222#M16507</guid>
      <dc:creator>JSJB</dc:creator>
      <dc:date>2018-06-06T18:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: libcurl4</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4521716#M16560</link>
      <description>&lt;P&gt;I have change the repository with the "testing" one. However, I'm still promt by the terminal that libcurl4 will be replace by libcurl3.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:01:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/libcurl4/m-p/4521716#M16560</guid>
      <dc:creator>eaoe00</dc:creator>
      <dc:date>2018-07-04T14:01:52Z</dc:date>
    </item>
  </channel>
</rss>

