SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
6.83k stars 803 forks source link

Libwebkit2 is missing from the Linux AppImage #4377

Open tigert opened 6 months ago

tigert commented 6 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

1.9.1

Operating System (OS)

Linux

OS Version

Fedora 39 silverblue

Additional system information

No response

Printer

None yet

How to reproduce

  1. Run appimage
  2. Get error

Actual results

./OrcaSlicer_Linux_V1.9.1.AppImage /tmp/.mount_OrcaSlKbla0c/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

Expected results

I would guess the appimage packages all required libraries along with the application binary.

I guess the lib version numbering is different, I do have libwebkit2gtk-4.1.so.0.12.8 on my system, but it expects libwebkit2gtk-4.0.so.37. And the point of the AppImage is to not rely on system libraries even if they would exist, but package the correct versions of dependencies with the binary, I guess.

Project file & Debug log uploads

not relevant as the app does not even run.

Checklist of files to include

Anything else?

No response

vprasad1973 commented 6 months ago

FYI to any of the Fedora or other distro folks having difficulty with launching Orca app image, go ahead and try last night's Jan 22 v2.0.0 dev image from the nightly builds-- WORKS FANTASTIC!!!

xPakrikx commented 6 months ago

Same problem on my Fedora 39 even on v2.0.0 beta. I tried cleanup .local and .config but its still same problem. Just blank setup wizard. No problem with Prusa slicer app image.

VorpalBlade commented 6 months ago

Tried the OrcaSlicer_Linux_V2.0.0-beta.AppImage on Arch Linux, fails to start with:

/tmp/.mount_OrcaSlTwTZnd/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

However you can install webkit2gtk (pacman -S webkit2gtk) and it then works. Still that should be bundled in the AppImage as there can be many different incompatible versions of that library I believe.

karolbe commented 6 months ago

I am using Fedora 39, and Orca did not work for me, however with this setting:

export WEBKIT_DISABLE_DMABUF_RENDERER=1

it does start and seems to work just fine.

zaporter commented 5 months ago

Just got this on the 2.1 nightly build. Setting WEBKIT_DISABLE_DMABUF_RENDERER=1 did not fix the issue

ffries commented 3 months ago

All these issue are related : https://github.com/SoftFever/OrcaSlicer/issues?q=libwebkit2gtk-4.0.so.37

ElectricalBoy commented 2 months ago

Duplicate of #4616

kwagnitz commented 2 months ago

error while loading shared libraries: libwebkit2gtk-4.0.so.37 OrcaSlicer_Linux_V2.1.1.AppImage OR OrcaSlicer_Linux_V2.1.0.AppImage Ubuntu 24.04.

Worked with Ubuntu 23.10.