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

[bug] AppImage: error while loading shared libraries: libwebkit2gtk #4278

Closed
probonopd opened this issue Jun 5, 2022 · 2 comments
Closed

Comments

@probonopd
Copy link

Describe the bug

When trying to run some AppImages made with tauri, I get

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

This libary and its dependencies need to be bundled inside the AppImage because it cannot reasonably be expected to come with all Linux distributions by default.

Reproduction

  1. Run a non-Gnome Linux distribution (e.g., Kubuntu)
  2. Download the AppImage from https://github.com/lights0123/n-link/ (made with tauri)
  3. See the error: n-link: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

Expected behavior

Application runs

Platform and versions

I don't have these installed on my system, as I am just trying to run the AppImage.

Stack trace

No response

Additional context

libwebkit2gtk and its dependencies would need to be deployed (privately bundled) with the application.

@FabianLars
Copy link
Sponsor Member

This project was built over a year ago (with tauri's alpha version) when our appimage builder was completely broken (that's why it's ~5MB), we fixed most of the issues in a later beta versionn back in August when we switched to linuxdeploy (with followup fixes in December)

@probonopd
Copy link
Author

Thanks for the clarification; glad it got fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants