Could not launch AppImage. /usr/lib64/ invalid ELF header

Steps to reproduce

  1. Probably install Gentoo Linux on M1 macbook? (oof. probably it doesn’t make anything with CPU’s arch, but installing gentoo is still oof)source
  2. Launch Obsidian-1.4.5-arm64.AppImage
  3. Get ./Obsidian-1.4.5-arm64.AppImage: error while loading shared libraries: /usr/lib64/ invalid ELF header error.

Did you follow the troubleshooting guide? [Y/N]

Yes I did search for similar issues using keywords.

Expected result

Obsidian launch

Actual result

Obsidian doesn’t launch


Sorry but I cannot copy this info since I cannot launch Obsidian.

Basic details about my setup:

  • Macbook Air 13 2020 M1
  • Gentoo Linux (kernel: 6.4.0-asahi-10-edge)
  • Wayland, Hyprland WM

Additional information

Mentioned file from that error comes from sys-libs/zlib package which is 1.2.13-r1 version. zlib was compiled with this flags: +minizip -static-libs (+ means set, - means unset).

I guess this would not be an issue if I would compile obsidian myself but obsidian is not source-available product :slight_smile:

Thank you for this product, even though I haven’t tried it yet :smiley: