Appimage - error while loading shared libraries: libwebkit2gtk-4.0.so.37

So i’m triyng to run Orcaslicer [project link] on my Manjaro system.
I just get error when i try to run it. seems like I’m missing something for it to run.
Installed and tried to run with AppImageLauncher too.

$ ./OrcaSlicer_Linux_V2.0.0-beta.AppImage                                                           
/tmp/.mount_OrcaSlVVl9XN/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

Problem seem to be that i’ve wrong version of libwebkit2gtk.

$ pacman -Qs libwebkit                                                                               
local/webkit2gtk-4.1 2.42.5-2
    Web content engine for GTK

I did find this AUR “webkit2gtk-4.0-hvml 2.34.1-8” But i get error when i try to install.

So I’m kind of lost here. Isn’t appimage supposed to be “independent”?

System:
  Kernel: 6.7.7-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.7-x86_64
    root=UUID=8a3d48b0-be62-4c5e-b601-d6852651ba19 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7A33 v: 2.0
    serial: <superuser required>
  Mobo: Micro-Star model: X370 SLI PLUS (MS-7A33) v: 2.0
    serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends v: 3.JU date: 11/02/2021
Battery:
  ID-1: hidpp_battery_0 charge: 78% condition: N/A volts: 4.0 min: N/A
    model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
    serial: <filter> status: discharging
Memory:
  System RAM: total: 32 GiB available: 31.28 GiB used: 6.88 GiB (22.0%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 4 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M2B3200C16 serial: N/A
  Device-2: Channel-A DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M2B3200C16 serial: N/A
  Device-3: Channel-B DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M2B3200C16 serial: N/A
  Device-4: Channel-B DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M2B3200C16 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 2x16 MiB
  Speed (MHz): avg: 2200 min/max: 2200/4409 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200 3: 2200
    4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    bogomips: 91236
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm_lock syscall tce topoext tsc
    tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA AD103 [GeForce RTX 4080] vendor: CardExpert driver: nvidia
    v: 550.54.14 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-02) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 2e:00.0 chip-ID: 10de:2704
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 6840x2160 s-dpi: 101 s-size: 1719x543mm (67.68x21.38")
    s-diag: 1803mm (70.97")
  Monitor-1: DP-2 pos: bottom-r res: 1920x1080 dpi: 92
    size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
  Monitor-2: DP-4 pos: top-left res: 1080x1920 hz: 60 dpi: 102
    size: 268x477mm (10.55x18.78") diag: 547mm (21.54") modes: N/A
  Monitor-3: HDMI-0 pos: primary,top-center res: 3840x2160 dpi: 139
    size: 700x390mm (27.56x15.35") diag: 801mm (31.55") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.54.14
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4080/PCIe/SSE2
    memory: 15.62 GiB
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 4080 driver: nvidia v: 550.54.14
    device-ID: 10de:2704 surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA vendor: CardExpert driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 2e:00.1 chip-ID: 10de:22bb class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 30:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: DSEA A/S EPOS H3PRO driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3.4.1:5
    chip-ID: 1395:0101 class-ID: 0300 serial: <filter>
  Device-4: DSEA A/S EPOS H3PRO Dongle
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 5-4:3 chip-ID: 1395:0303 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.7.7-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI RTL8111/8168/8411 driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 29:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp41s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Microsoft Xbox 360 Wireless Adapter driver: xpad type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:2 chip-ID: 045e:0719
    class-ID: ff00 serial: <filter>
  Info: services: NetworkManager
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.5 TiB used: 1 TiB (40.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS512G1X0C-00ENX0 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: B35500WD temp: 59.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD20EFRX-68EUZN0
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 0A82 scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Corsair model: Force LE SSD
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 12.2 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%)
    used: 51.31 GiB (11.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 8a3d48b0-be62-4c5e-b601-d6852651ba19
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: AC99-6BB5
  ID-3: /home/<filter>/#EXA raw-size: 1.82 TiB size: 1.79 TiB (98.37%)
    used: 973.98 GiB (53.1%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: EXA
    uuid: d662067d-1ac6-4179-9a6d-e1a12f648245
  ID-4: /home/<filter>/#MY raw-size: 223.57 GiB size: 219 GiB (97.96%)
    used: 2 MiB (0.0%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 label: MY
    uuid: 15ccf5f0-ca00-47d2-b872-c626b8e60736
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 14 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-2:2 info: Microsoft Xbox 360 Wireless Adapter type: WiFi
    driver: xpad interfaces: 8 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 260mA chip-ID: 045e:0719 class-ID: ff00 serial: <filter>
  Device-2: 1-12:3 info: Corsair Gaming K70 LUX RGB Keyboard
    type: keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 1b1c:1b33 class-ID: 0300 serial: <filter>
  Device-3: 1-13:4 info: Logitech Lightspeed Receiver
    type: keyboard,mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c539 class-ID: 0300
  Hub-2: 2-0:1 info: super-speed hub ports: 8 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 5-3:2 info: VIA Labs VL813 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2813
    class-ID: 0900
  Hub-7: 5-3.4:4 info: Cambridge Silicon Radio ports: 4 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA chip-ID: 0a12:4010
    class-ID: 0900
  Device-1: 5-3.4.1:5 info: DSEA A/S EPOS H3PRO type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 5 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 1395:0101 class-ID: 0300 serial: <filter>
  Device-2: 5-4:3 info: DSEA A/S EPOS H3PRO Dongle type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 96mA
    chip-ID: 1395:0303 class-ID: 0300 serial: <filter>
  Hub-8: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-9: 6-3:2 info: VIA Labs VL813 Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2109:0813
    class-ID: 0900
  Device-1: 6-3.1:3 info: Genesys Logic All-in-One Cardreader
    type: mass storage driver: usb-storage interfaces: 1 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 896mA
    chip-ID: 05e3:0732 class-ID: 0806 serial: <filter>
Sensors:
  System Temperatures: cpu: 46.2 C mobo: N/A gpu: nvidia temp: 45 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Repos:
  Packages: 1387 pm: pacman pkgs: 1381 libs: 362 tools: pamac pm: flatpak
    pkgs: 6
  Active pacman repo servers in: /etc/pacman.conf
    1: https://mega.nz/linux/repo/Arch_Extra/$arch
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    2: https://mirror.zetup.net/manjaro/stable/$repo/$arch
    3: https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 314
  1: cpu: 17.7% command: firefox pid: 1821 mem: 664.8 MiB (2.0%)
  2: cpu: 4.6% command: firefox pid: 2237 mem: 334.6 MiB (1.0%)
  3: cpu: 3.7% command: FreeCAD pid: 8526 mem: 763.3 MiB (2.3%)
  4: cpu: 2.8% command: Xorg pid: 638 mem: 254.4 MiB (0.7%)
  5: cpu: 1.6% command: firefox pid: 12451 mem: 319.3 MiB (0.9%)
  Memory top: 5 of 314
  1: mem: 1449.9 MiB (4.5%) command: pamac-manager pid: 2885 cpu: 1.0%
  2: mem: 763.3 MiB (2.3%) command: FreeCAD pid: 8526 cpu: 3.7%
  3: mem: 664.8 MiB (2.0%) command: firefox pid: 1821 cpu: 17.7%
  4: mem: 532.6 MiB (1.6%) command: plasmashell pid: 908 cpu: 0.5%
  5: mem: 416.6 MiB (1.3%) command: gimp-2.10 pid: 9847 cpu: 0.2%
Info:
  Processes: 314 Power: uptime: 46m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.49 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9 default: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.33

Isn’t an Appimage supposed to provide all the stuff that it needs to run?
Following that logic - if the premise is true - the Appimage is faulty.

Soo, i suppose run it as an issue with the github instead?
Perhaps I’ll do that anyway.

I have never ever used Appimages - but that is what I “know” about them. (note the quotes)
If that is true, the problem is with the Appimage.

You’re using a beta release, if that’s not intentional then try the official stable release.

Well I’ve tried that one as well:

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

No unfortunately not. A developer can add some but is not required to add all libraries. Also libraries that are needed for the GUI are usually not added.

1 Like

What’s the purpose of an AppImage then? This is just silly.

2 Likes

If anyone cares… :eyes: I’ve posted an issue at their git bug

It works for me but I do have /usr/lib/libwebkit2gtk-4.0.so.37 on my system.

If you don’t have that try installing the webkit2gtk package.

Although like others I’m wondering why that isn’t included in the Appimage…

Unfortunately this is true. The developer has to pack everything but sometimes they forget something or think everyone is using debian or ubuntu. I had a similar problem with Speeddreams. Library missing. Had to install manually. In your case…the developer has compiled on something having the old version… Like ubuntu. You cannot do anything except to try to find a package with the older version in the repo or aur and write a bug report.

Well, you can compile from source too, i guess it will then use the newer version, if it compiles successfully that is.

Look a that!
This made the diffrence!
$ pacman -S webkit2gtk

I tried :
$ pacman -S libwebkit2gtk
$ pacman -S libwebkit2gtk-4.0.so-37

How the **** should i know that’s what i needed.

Anyways, now i get different error but at least the dependency problem is gone.

In the future

sudo pacman -Fyx libwebkit2gtk-4.0.so.37

Will tell you if that file is in some package in the repos, so that you can install it. Works only with the repo packages.

In most cases I’ve encountered the maintainer will note additional libraries that might be required/presumed to be present. If someone downloads an appImage file expecting it to work, without having read much past “download”, I suppose it doesn’t help as much as expected.

Instead of using the appimage, why not use the orca-slicer-unstable-bin package available in the AUR instead? It is v2.0.0.beta1, and I just installed it via the Pamac GUI & opened it successfully on my mini-PC, which is on Stable branch:

When I opened it, it popped up a message asking me a question about SSL certificates. The folder it showed was the correct one (in the /etc/… folder), so I just ticked the “Remember My Decision” box & clicked okay (or whatever the prompt to proceed was).

Are you perhaps using gnome? because now im thinking this might be related to KDE Plasma.

Tested on endevourOS with KDE and ran into same issue.
Ran it on my laptop with Manjaro Gnome and it ran without problem!

The AppImage works just fine on my Manjaro Cinnamon Spin, there must be something on your system.

On my system, webkit2gtk & webkit2gtk-4.1 are installed.

I’m using Plasma on Wayland - I’ve always used KDE/Plasma as my DE since the day I first installed Mandrake Linux way back in 2005.

:+1:

Well Wayland wont run with my rtx4080 so i have to go with X11. Perhaps its X11 then.

Mine is running X11, that may be the issue.