<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>snap | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/snap/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Sun, 25 Jan 2026 13:41:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>snap | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>The perils of updates</title>
		<link>https://learncgames.com/the-perils-of-updates/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-perils-of-updates</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 25 Jan 2026 13:40:29 +0000</pubDate>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Flutter]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[snap]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=3493</guid>

					<description><![CDATA[<p>So I&#8217;ve been working on my game and to save time build the web project as a Linux app. It compiles it and runs it quicker than doing it with Chrome.  Until yesterday. After doing the usual sudo apt update and then upgrade, and snap refresh.I had updated Flutter (and Dart)  and afterwards, upgraded all [&#8230;]</p>
The post <a href="https://learncgames.com/the-perils-of-updates/">The perils of updates</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-3494" src="https://learncgames.com/wp-content/uploads/2026/01/linux-flutter-build-error.png" alt="Target dart_build failed: Error: Failed to find any of [ld.lld, ld] in LocalDirectory: '/snap/flutter/149/usr/lib/llvm-10/bin' " width="1085" height="98" srcset="https://learncgames.com/wp-content/uploads/2026/01/linux-flutter-build-error.png 1085w, https://learncgames.com/wp-content/uploads/2026/01/linux-flutter-build-error-300x27.png 300w, https://learncgames.com/wp-content/uploads/2026/01/linux-flutter-build-error-1024x92.png 1024w, https://learncgames.com/wp-content/uploads/2026/01/linux-flutter-build-error-768x69.png 768w" sizes="(max-width: 1085px) 100vw, 1085px" />So I&#8217;ve been working on my game and to save time build the web project as a Linux app. It compiles it and runs it quicker than doing it with Chrome.  Until yesterday.</p>
<p>After doing the usual <em>sudo apt update</em> and then <em>upgrade</em>, and <em>snap refresh</em>.I had updated Flutter (and Dart)  and afterwards, upgraded all of the pubspec.yaml and finally ran <em>Flutter Doctor</em>.  It output this</p>
<pre><code class="language-dart" data-line="">Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.7, on Ubuntu 24.04.3 LTS 6.14.0-37-generic, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
    ✗ cmdline-tools component is missing.
      Try installing or updating Android Studio.
      Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/linux-android-setup for more details.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.</code></pre>
<p>I&#8217;m not worried about Android so Linux and Chrome were fine; everything is up to date.  Until I tried to run the app (as Linux) and got the message at the top. It says</p>
<pre>ERROR: Target dart_build failed: Error: Failed to find any of [ld.lld, ld] in LocalDirectory: 
'/snap/flutter/149/usr/lib/llvm-10/bin'</pre>
<p>I can still run it as a Chrome web app so it&#8217;s not the end of the world; more a speed bump than a road block but still annoying. I looked up the error but there was nothing really helpful. Installing lld did not fix it.</p>
<p>I asked an AI (Chrome what I could do and it have me three alternatives).</p>
<ol>
<li>Install a symbolic link to lld but that failed as the area is read only. Even with sudo.</li>
<li>Refresh from a different snap channel but even with a full reboot after doing that it made no difference.</li>
<li>Suggests uninstalling Flutter from snap and install it manually, so that&#8217;s what I guess I have to do.</li>
</ol>
<p>What a faff!</p>The post <a href="https://learncgames.com/the-perils-of-updates/">The perils of updates</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3493</post-id>	</item>
	</channel>
</rss>
