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
7.33k stars 869 forks source link

libwebkit2gtk error prevents using the software even after installing libwebkit2gtk-4.1-0 #5430

Closed MFernflower closed 4 months ago

MFernflower commented 5 months ago

OrcaSlicer Version

2.0.0 AppImage build and the latest nightly build does this as well (OrcaSlicer_Linux_V2.1.0-dev.AppImage)

Operating System (OS)

Linux

OS Version

Xubuntu 24.04 LTS Noble Numbat

Additional system information

core i5 system with 32 gb of ram running Xubuntu 24.04 LTS

Printer

CREALITY K1

BUG

Appimage fails to launch with error:

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

issue still occurs even after I have installed libwebkit2gtk-4.1-0

buzzhuzz commented 5 months ago

Duplicate of #4616

Attempt to fix it made in #5203, but there are issue found during code review which I don't actually know how to fix yet.

Luke56784 commented 5 months ago

You have to install 4.0. Not 4.1 But it's not in the repository's anymore with 24.04.

You also can link it by executing

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

https://github.com/bambulab/BambuStudio/issues/3973

MFernflower commented 5 months ago

I will try this when I get back home

Thank you

On Thu, May 23, 2024, 9:46 AM Luke56784 @.***> wrote:

You have to install 4.0. Not 4.1 But it's not in the repository's anymore with 24.04.

You also can link it by executing

`sudo ln -sf /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37

sudo ln -sf /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18`

bambulab/BambuStudio#3973 https://github.com/bambulab/BambuStudio/issues/3973

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/5430#issuecomment-2127149713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEWDSVGVH6AFKTFNBLV33ZDXXJZAVCNFSM6AAAAABIEP65OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGE2DSNZRGM . You are receiving this because you authored the thread.Message ID: @.***>

MFernflower commented 5 months ago

The commands you posted worked!

I geuss its just a matter of making the appimage use libwebkit2gtk-4.1-0 by default

On Thu, May 23, 2024, 9:46 AM Luke56784 @.***> wrote:

You have to install 4.0. Not 4.1 But it's not in the repository's anymore with 24.04.

You also can link it by executing

`sudo ln -sf /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37

sudo ln -sf /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18`

bambulab/BambuStudio#3973 https://github.com/bambulab/BambuStudio/issues/3973

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/5430#issuecomment-2127149713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEWDSVGVH6AFKTFNBLV33ZDXXJZAVCNFSM6AAAAABIEP65OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGE2DSNZRGM . You are receiving this because you authored the thread.Message ID: @.***>

GA3Dtech commented 5 months ago

I had same issue on Ubutu LTS 24.04 fresh install

I can confirm that linking path is working

thk

mikeperalta1 commented 5 months ago

+1 issue began immediately after upgrading to Ubuntu 24.04

Also +1 the fix provided by @Luke56784 works for me.

ffries commented 5 months ago

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

MFernflower commented 5 months ago

@ffries the two bash commands given by Luke fix the issue

On Thu, Jun 20, 2024, 4:09 AM French fries @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/5430#issuecomment-2180074256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEWDWX56XKXFIT4NHNZQ3ZIKE4XAVCNFSM6AAAAABIEP65OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGA3TIMRVGY . You are receiving this because you authored the thread.Message ID: @.***>

ElectricalBoy commented 4 months ago

Duplicate of #5860 AppImage built on Ubuntu 24.04 is now available in nightly and "should" be available in the next release 🤞