Error loading needed lib libwebkit2gtk-4.0.so.37
I get this error when trying to run Orca Slicer on Fedora Asahi Remix:
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Blizzard-M2 Avalanche-M2 with 8 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 aea10492 built on Feb 7 2024 14:42:15
BOX64: Detected 48bits at least of address space
Counted 56 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/
Looking for ./OrcaSlicer_Linux_V1.9.0.AppImage
Rename process to "OrcaSlicer_Linux_V1.9.0.AppImage"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libz.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using native(wrapped) libfuse.so.2
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Blizzard-M2 Avalanche-M2 with 8 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 aea10492 built on Feb 7 2024 14:42:15
BOX64: Detected 48bits at least of address space
Counted 61 Env var
BOX64 LIB PATH: /tmp/.mount_OrcaSlMNdExW/bin/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/
Looking for /tmp/.mount_OrcaSlMNdExW/bin/orca-slicer
Rename process to "orca-slicer"
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libGL.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libz.so.1
Using native(wrapped) libEGL.so.1
Using native(wrapped) libgtk-3.so.0
Using native(wrapped) libgdk-3.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) libwayland-egl.so.1
Using native(wrapped) libwayland-client.so.0
Using native(wrapped) libgstreamer-1.0.so.0
Using native(wrapped) libgstvideo-1.0.so.0
Error loading needed lib libwebkit2gtk-4.0.so.37
Error loading needed lib libjavascriptcoregtk-4.0.so.18
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libpangoft2-1.0.so.0
Using native(wrapped) libgstbase-1.0.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Error loading one of needed lib
Error: Loading needed libs in elf /tmp/.mount_OrcaSlMNdExW/bin/orca-slicer
I'm on aea10492232746e5181a8ee7bc09127cda3ef32b (latest commit as of this issue). Please help.
The required libraries are already installed with dnf install webkit2gtk4.0
Thos library are not wrapped yet on box64, that's why you get this error. I need to check but I'm afraid those are big library to wrap, so that might take a lot of time to do!
@par5er get these libs as x86_64 and put in /usr/lib/x86_64-linux-gnu or to executable dir
@mcagabe19 then I get:
...
Cannot create memory map (@0x7fff04c51000 0x2e3000/0xfff) for elf "libwebkit2gtk-4.0.so.37" error=22/Invalid argument
Error: loading for elf libwebkit2gtk-4.0.so.37
Cannot create memory map (@0x7fff08c51000 0x2e3000/0xfff) for elf "./libwebkit2gtk-4.0.so.37" error=22/Invalid argument
Error: loading for elf ./libwebkit2gtk-4.0.so.37
Error loading needed lib libwebkit2gtk-4.0.so.37
...
Thos library are not wrapped yet on box64, that's why you get this error. I need to check but I'm afraid those are big library to wrap, so that might take a lot of time to do!
What does wrapping a library entail and can I help? Tired of having to boot into macOS just to use this software :D
What does wrapping a library entail and can I help? Tired of having to boot into macOS just to use this software :D
Here is an article to (try to) explain how to do it: https://box86.org/2024/02/how-to-create-a-wrapping/ (Yes, it was published just now. :p)