The perils of updates
So I’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 of the pubspec.yaml and finally ran Flutter Doctor. It output this
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.
I’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
ERROR: Target dart_build failed: Error: Failed to find any of [ld.lld, ld] in LocalDirectory: '/snap/flutter/149/usr/lib/llvm-10/bin'
I can still run it as a Chrome web app so it’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.
I asked an AI (Chrome what I could do and it have me three alternatives).
- Install a symbolic link to lld but that failed as the area is read only. Even with sudo.
- Refresh from a different snap channel but even with a full reboot after doing that it made no difference.
- Suggests uninstalling Flutter from snap and install it manually, so that’s what I guess I have to do.
What a faff!

I run Ubuntu in a hyper-V session. It works very well and handy for getting screenshots. I’ve been using a 24.04 LTS for a while and decided I needed another one to test CyberPanel. i already have Webmin on my main one so wanted a clean Ubuntu so as not to mess Webmin. It took ten minutes to setup then another 20 minutes to install 300+ updates.
Although it says cannot open input file SDL2.lib, I think the problem is a parameter passed into Link.exe.





Well actually I asked Microsoft’s CoPilot AI and it sorted it!
This is on Ubuntu 24.04 LTS. I’ve installed the dev versions of SDL2, including images and TTF. You can read how to install them in
I’m aware that C is notorious for unexpected behaviour (UB). Let me describe this bug: