void icon indicating copy to clipboard operation
void copied to clipboard

[App] Beta 1.2.1 - Ubuntu - Error launching the AppImage

Open Dylan-86 opened this issue 8 months ago • 4 comments

I just tried the new appImage for Ubuntu

./Void-1.2.0.25104.glibc2.29-x86_64.AppImage

When I run it, I get the following output:

sed: /tmp/.mount_Void-1nTqzUt/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
/tmp/.mount_Void-1nTqzUt/AppRun: 10: exec: /usr/share/void/void: not found

The warning from sed is not a blocker, but the second line is — the app doesn't start.

Investigation

Let's go: I extracted the AppImage using: ./Void-1.2.0.25104.glibc2.29-x86_64.AppImage --appimage-extract

Then checked the contents:

cd squashfs-root
find . -type f -iname 'void'
./usr/share/bash-completion/completions/void
./usr/share/void/bin/void
./usr/share/void/resources/completions/bash/void
./usr/share/void/void

the binary exist inside the extracted AppImage

./usr/share/void/void

And if I run it manually:

chmod +x ./usr/share/void/void
./usr/share/void/void

…it works as expected.

Conclusion It looks like the AppRun script is trying to launch the binary using an absolute path: exec /usr/share/void/void

Please consider changing the AppRun script to use a relative path instead, like:

exec ./usr/share/void/void "$@" ok exec "$(dirname "$0")/usr/share/void/void" "$@"

Dylan

Dylan-86 avatar Apr 15 '25 10:04 Dylan-86

Thanks, this is super helpful!

andrewpareles avatar Apr 17 '25 23:04 andrewpareles

Same error on Void-1.2.1.25105.glibc2.29-x86_64.AppImage

sed: /home/user/Downloads/squashfs-root/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
./AppRun: 10: exec: /usr/share/void/void: not found

Wawilow avatar Apr 25 '25 23:04 Wawilow

Same error on Void-1.99.30001.glibc2.29-x86_64.AppImage

mrdev023 avatar Apr 30 '25 10:04 mrdev023

Same with Void-1.99.30003.glibc2.29-x86_64.AppImage

/tmp/.mount_Void-17RwcCx/AppRun: line 10: /usr/share/void/void: No such file or directory

I'm on arch

RedKage avatar May 03 '25 09:05 RedKage