Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubuntu 22.04 missing libwebkit2gtk-4.0.so.37 when running AppImage #425

Open
Guswilly opened this issue Mar 4, 2023 · 15 comments
Open
Labels
bug Something isn't working

Comments

@Guswilly
Copy link

Guswilly commented Mar 4, 2023

Describe the bug
Steps taken:
Downloaded zip file, extracted, properties changed to executable, then
Run in Console returns:
/tmp/.mount_BambuSdizE6Q/bin/bambu-studio: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

Ran updates, and I have tried with the same error:
sudo apt install libfuse2
Unfortunately Web based content is overloaded with the above fix making it hard to find a fix.

Desktop (please complete the following information):

  • OS: Kubuntu 22.04
@Guswilly Guswilly added the bug Something isn't working label Mar 4, 2023
@cereal7802
Copy link

Did you install libwebkit2gtk-4.0? I had to install webkit2gtk4.0 package on Fedora to get rid of that error.

Fedora: dnf install webkit2gtk4.0
(K)Ubuntu: should be apt install libwebkit2gtk-4.0

It might be a different package name as searching online it seems like it has libwebkit2gtk-4.0-37, but it might be different for your specific version of kubuntu.

@royw
Copy link

royw commented Mar 10, 2023

Same issue on manjaro stable.

pacman -Ss libwebkit2gtk
extra/webkit2gtk 2.38.4-1 Web content engine for GTK
extra/webkit2gtk-4.1 2.38.4-1 Web content engine for GTK
extra/webkit2gtk-5.0 2.38.4-1 Web content engine for GTK

@Guswilly
Copy link
Author

Thanks for the help. I tried this all again and found that I had a typo in the library name, a simple . versus a - (libwebkit2gth-4.0.so-37 is the correct name).

Now it works.

@khumarahn
Copy link

Same here on gentoo. I have net-libs/webkit-gtk-2.40.1-r410 installed. I don't undestand how to fix this

@Krutonium
Copy link

This really should be packed into the AppImage

@lordfiSh
Copy link

lordfiSh commented Sep 10, 2023

Same Problem on the Steam Deck (Arch Linux)
/tmp/.mount_OrcaSlPfBnnd/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

#1841 and #185 have the same issue

@Cypher1
Copy link

Cypher1 commented Dec 7, 2023

For me the following packages were missing:

webkit2gtk4.0-2.40.0-2.fc38.x86_64
mesa-libOSMesa.x86_64

i.e.

sudo dnf install webkit2gtk4.0-2.40.0-2.fc38.x86_64 mesa-libOSMesa.x86_64

I also suspect the following may be helpful for the live preview, but haven't gotten it working.

sudo dnf install gstreamer1-plugins-bad-freeworld.x86_64 gstreamer1-svt-av1.x86_64 gstreamer1-plugins-bad-free-extras-1.22.5-1.fc38.x86_64

@magealexstra
Copy link

just fyi i'm running kubuntu 23.10 and to install i had to search and found it listed as libwebkit2gtk-4.0-37 in apt-cache.

installing allowed the app to launch.

sudo apt install libwebkit2gtk-4.0-37

@xpcone
Copy link

xpcone commented Jan 29, 2024

Is there an AppImage which is not depended on a Debian/Ubuntu based system ?

@DupiDachs
Copy link

DupiDachs commented Mar 13, 2024

I am under Archlinux here and the package webkit2gtk4.0 is not provided here. But there is webkit2gtk4.1.

The workaround is to install version 4.1 via pacman -S webkit2gtk-4.1 and then create some symbolic links.

me@AsusLaptop: $ ldconfig -p | grep webkit
	libwebkit2gtk-4.1.so.0 (libc6,x86-64) => /usr/lib/libwebkit2gtk-4.1.so.0
	libwebkit2gtk-4.1.so (libc6,x86-64) => /usr/lib/libwebkit2gtk-4.1.so

and hence (you need to be in the folder of your AppImage),

me@AsusLaptop: $ ln -s /usr/lib/libwebkit2gtk-4.1.so.0 libwebkit2gtk-4.0.so.37

and also

me@AsusLaptop: $ ldconfig -p | grep libjava
	libjavascriptcoregtk-4.1.so.0 (libc6,x86-64) => /usr/lib/libjavascriptcoregtk-4.1.so.0
	libjavascriptcoregtk-4.1.so (libc6,x86-64) => /usr/lib/libjavascriptcoregtk-4.1.so

and hence (you need to be in the folder of your AppImage),

me@AsusLaptop: $ ln -s /usr/lib/libjavascriptcoregtk-4.1.so.0 libjavascriptcoregtk-4.0.so.18

Does the job for me. HF!

@czinehuba
Copy link

czinehuba commented Apr 29, 2024

Slightly different directories, but it in Ubuntu 24.04 did the trick as well. cheers

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

@SebiPanther
Copy link

Slightly different directories, but it in Ubuntu 24.04 did the trick as well. cheers

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

That worked for me. I also installed the following packages (maybe not all of them needed):
sudo apt-get install libwebkit2gtk-4.1-dev libwebkit2gtk-4.1-0 language-pack-en language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base language-pack-kde-en

@steve7233
Copy link

Slightly different directories, but it in Ubuntu 24.04 did the trick as well. cheers

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

Did not work for me. Kubuntu 24.04

@steve7233
Copy link

Slightly different directories, but it in Ubuntu 24.04 did the trick as well. cheers

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

Did not work for me. Kubuntu 24.04

Did you install libwebkit2gtk-4.0? I had to install webkit2gtk4.0 package on Fedora to get rid of that error.

Fedora: dnf install webkit2gtk4.0 (K)Ubuntu: should be apt install libwebkit2gtk-4.0

It might be a different package name as searching online it seems like it has libwebkit2gtk-4.0-37, but it might be different for your specific version of kubuntu.

Package not found. Kubuntu 24.04.

@mikey54
Copy link

mikey54 commented Jun 3, 2024

Slightly different directories, but it in Ubuntu 24.04 did the trick as well. cheers
sudo ln -s /lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37 sudo ln -s /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18

That worked for me. I also installed the following packages (maybe not all of them needed): sudo apt-get install libwebkit2gtk-4.1-dev libwebkit2gtk-4.1-0 language-pack-en language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base language-pack-kde-en

I did this and now I have the error:

"authentication failed due to unexpected error"

Kubuntu 24.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests