Issue while launching the Playdate simulator on Ubuntu 24.04

I have recently installed Ubuntu 24.04.

I have the SDK configured, when trying to run the Playdate Simulator I receive the following error:

PlaydateSimulator: error while loading shared libraries: cannot open shared object file: No such file or directory

My understanding here is that the simulator has a dependency which Ubuntu can no longer support (when running 24.04).

I believe a version of the package is available, just not the one required by the simulator.

Has anyone else seen this issue, running the latest Ubuntu or any previous versions?

Is this package upgradeable, or is it likely to be fixed and determined by the requirements of the OS?

If it can be upgraded, has anyone completed that process?

Is it likely that the SDK needs to be updated to support the version available in Ubuntu 24.04?

Did you try installing the library with apt? Something like:

sudo apt-get update
sudo apt-get install libwebkit2gtk-4.0-37

Hi @Daeke!

I tried running:

sudo apt-get install libwebkit2gtk-4.0-37

Which gave:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libwebkit2gtk-4.0-37
E: Couldn't find any package by glob 'libwebkit2gtk-4.0-37'
E: Couldn't find any package by regex 'libwebkit2gtk-4.0-37'

Running the following command, to check what is available:

apt-cache search libwebkit


libwebkit2gtk-4.0-doc - WebKitGTK documentation (transitional dummy package)
libwebkit2gtk-4.1-0 - Web content engine library for GTK
libwebkitgtk-6.0-4 - Web content engine library for GTK
libwebkitgtk-doc - Web content engine library for GTK - documentation
libwebkit2gtk-4.1-dev - Web content engine library for GTK - development files
libwebkitgtk-6.0-dev - Web content engine library for GTK - development files

main, universe, restricted and multiverse repositories are enabled.

Unsure if I need to run an alternative command, or add a new repository?

Or if there is a specific reason why that version is not returning while running 24.04?

Pretty sure it won't work but maybe you can try installing libwebkit2gtk-4.1-0 ?

I have found what I think is a useful resource online which let's us view packages available across different versions of Ubuntu:

Noble is the codename for 24.04:

A search across all versions for "libwebkit2gt":

  • "libwebkit2gtk-4.0-37" doesn't have a libs entry for noble.
  • "libwebkit2gtk-4.1-0" does have a libs entry for noble.

I guess this suggests that the older version needed by the SDK is not available, or at least not officially supported for 24.04?


I will carry on investigating this issue but my initial thoughts are that this is potentially a bug or feature request.

The SDK may need to be updated to support the more recent version of the package included in Ubuntu 24.04.

I have created a bug report here: