onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.83k stars 281 forks source link

AppImage fails to run #3843

Open flukejones opened 2 years ago

flukejones commented 2 years ago

Related issue: https://github.com/onivim/oni2/issues/2444

From what I can gather, the issue is:

sed: /home/luke/Downloads/Onivim2-linux-master/Onivim2.AppDir/usr/lib/libselinux.so.1: no version information available (required by sed)
sed: /home/luke/Downloads/Onivim2-linux-master/Onivim2.AppDir/usr/lib/libselinux.so.1: no version information available (required by sed)
donbex commented 2 years ago

By the looks of it, the AppImage is no longer self contained. On my ArchLinux system it fails to run with a different error:

$ Onivim2.AppImage --nofork --debug
/tmp/.mount_OnivimSEERJQ/usr/bin/Oni2_editor: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_module_open_full

This is with the 0.5.7 build from the early access portal.

Edit: It turns out my issue had already been reported https://github.com/onivim/oni2/issues/3824

web3Gurung commented 2 years ago

By the looks of it, the AppImage is no longer self contained. On my ArchLinux system it fails to run with a different error:

$ Onivim2.AppImage --nofork --debug
/tmp/.mount_OnivimSEERJQ/usr/bin/Oni2_editor: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_module_open_full

This is with the 0.5.7 build from the early access portal.

Edit: It turns out my issue had already been reported #3824

Hey donbex! The AppImage needs two patches, one is for glibc, mentioned here. You may get another error for libffi.so.7, then you need to install libffi7 from AUR. It should then work for you.

DarkArc commented 2 years ago

This also affects Fedora FWIW.