SatisfactoryModManager icon indicating copy to clipboard operation
SatisfactoryModManager copied to clipboard

Latest version will not run via Kubuntu 24.04

Open steve7233 opened this issue 1 year ago • 6 comments

I ran it in a console to find out what the error was. Here is the output: /home/vince/Downloads/SatisfactoryModManager_linux_amd64: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

Looks like a GTK error.

steve7233 avatar May 25 '24 10:05 steve7233

It looks like webkit2gtk-4.0 is no longer available on Ubuntu 24.04 and I'm assuming the latest Debian as well.

I've seen a couple of weeks ago that wails added support for linking against webkit2gtk-4.1, but the version has not yet been released. ~~As far as I can tell, 4.1 is available in all supported versions of distros (so not including extended support), so updating SMM to it when it becomes available in wails should be fine.~~ It is not available in Ubuntu 20.04, which is still supported until April 2025...

I think a longer term solution would be providing an AppImage as well, and wails3 will have builtin support for that, but for now updating to 4.1 should be good for a few years.

mircearoata avatar May 25 '24 11:05 mircearoata

Just wanna say same problem if it matters

ShiralynDev avatar Jul 04 '24 13:07 ShiralynDev

sudo apt update sudo apt install libwebkit2gtk-4.0-dev

Worked to start it but insta crash: ./SatisfactoryModManager_linux_amd64: symbol lookup error: ./SatisfactoryModManager_linux_amd64: undefined symbol: webkit_javascript_result_get_js_value

ShiralynDev avatar Jul 04 '24 13:07 ShiralynDev

The wails version supporting webkit2gtk-4.1 released a few weeks ago, and I have also set up the appimage build script based on wails3's, so the next release is going to use this.

Unfortunately, I don't know when that release will be just yet, because I was planning to get a few more things in, but they are taking more time than expected. In the meantime, though, you can download the build-linux artifact from the latest actions run, which is built using webkit2gtk-4.1

mircearoata avatar Jul 04 '24 21:07 mircearoata

The wails version supporting webkit2gtk-4.1 released a few weeks ago, and I have also set up the appimage build script based on wails3's, so the next release is going to use this.

Unfortunately, I don't know when that release will be just yet, because I was planning to get a few more things in, but they are taking more time than expected. In the meantime, though, you can download the build-linux artifact from the latest actions run, which is built using webkit2gtk-4.1

That worked, thanks!

ShiralynDev avatar Jul 05 '24 08:07 ShiralynDev


Also linking against v4.1 seems to work for me:

grafik sudo ln -s /lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37

grafik sudo ln -s /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18


grafik

grafik

grafik

SoulInfernoDE avatar Jul 29 '24 22:07 SoulInfernoDE

Also linking against v4.1 seems to work for me:

This worked for me as well, however I also needed to link libsoup-2.4

sudo ln -s /lib/x86_64-linux-gnu/libsoup-3.0.so /lib/x86_64-linux-gnu/libsoup-2.4.so.1

Trying to install libsoup 2.4 did not work, as it crashed after seeing two versions of libsoup in use at once

aravol avatar Oct 14 '24 21:10 aravol

Confirmed -fixed it for me with Satisfactory version 1.0 and ModMan 3.0, too. 👍

SoulInfernoDE avatar Oct 16 '24 00:10 SoulInfernoDE

v3.0.2 now correctly links against 4.1, and an AppImage is also available

mircearoata avatar Oct 22 '24 09:10 mircearoata

Thanks for the fast fixes @mircearoata

👍

SoulInfernoDE avatar Oct 22 '24 10:10 SoulInfernoDE