Libwebkit2gtk-4.0.so.37 not found on Fedora 41

When running PlaydateSimulator on Fedora 41, I get the following error:

PlaydateSimulator: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory.

This forum has solutions for Ubuntu and its derivatives but I was wondering if anyone has a solution for this on Fedora 41.

I'm guessing you've tried installing libwebkit2gtk:
sudo dnf install webkit2gtk4.0 gtk3
What else have yo tried so far?

I have tried that with the following result.

Package "webkit2gtk4.0-2.46.5-1.fc41.i686" is already installed.
Package "gtk3-3.24.43-2.fc41.x86_64" is already installed.
Package "gtk3-3.24.43-2.fc41.i686" is already installed.

sudo find / -iname libwebkit2gtk-4.0.so.37 outputs the following:

/usr/lib/libwebkit2gtk-4.0.so.37

1 Like

According to that, you only have the 32-bit version of webkit2gtk4.0. If I remember correctly, the Playdate SDK only supports 64-bit, so you're probably just missing a 64-bit version of webkit2gtk4.0

2 Likes

Thank you. That's fixed my problem.

For anyone who stumbles across this, to install the 64-bit version -

sudo dnf install webkit2gtk4.0-2.46.1-2.fc41.x86_64

1 Like