zokugun / MrCode

An opinionated editor based on VSCodium / VSCode
MIT License
63 stars 2 forks source link

Appimage does not start on Linux distros with modern glib2 #5

Closed ramesh45345 closed 2 years ago

ramesh45345 commented 2 years ago

I am testing the Appimage MrCode-1.62.3.21323.glibc2.17-x86_64.AppImage on both a Fedora 35 (Silverblue, x86_64) and Arch Linux (updated as of 2021-11-24) machines, and I'm getting the following output:

On Fedora 35:

$ ./MrCode-1.62.3.21323.glibc2.17-x86_64.AppImage
sed: /tmp/.mount_MrCodeJO5nPp/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
mrcode: /tmp/.mount_MrCodeJO5nPp/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
mrcode: /tmp/.mount_MrCodeJO5nPp/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1)
mrcode: /tmp/.mount_MrCodeJO5nPp/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0)
mrcode: symbol lookup error: /lib64/libgio-2.0.so.0: undefined symbol: g_module_open_full

On Arch Linux:

$ ./MrCode-1.62.3.21323.glibc2.17-x86_64.AppImage
mrcode: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_module_open_full

The appimage seems to work on Centos 8 Stream:

$ ./MrCode-1.62.3.21323.glibc2.17-x86_64.AppImage 
[main 2021-11-24T15:00:42.701Z] update#setState idle
[main 2021-11-24T15:01:12.724Z] update#setState checking for updates
[main 2021-11-24T15:01:12.778Z] update#setState available for download

One thing to note per the errors, all of the above systems have a libgio-2.0.so.0. Fedora and Centos have that file at /lib64/libgio-2.0.so.0, and Arch (as stated above) has it at /usr/lib/libgio-2.0.so.0. As far as the packages that supply this file, CentOS ships with glib2-2.56.4-157.el8.x86_64, Fedora 35 ships with glib2-2.70.1-1.fc35.x86_64, and Arch uses glib2 2.70.1-1. Is this a file that should be shipped with the appimage?

daiyam commented 2 years ago

Yep, I'm having the issue...

daiyam commented 2 years ago

I can't make it work with https://bbs.archlinux.org/viewtopic.php?pid=1994258#p1994258

Older AppImages aren't working anymore...

daiyam commented 2 years ago

Same issue as https://github.com/VSCodium/vscodium/issues/854

daiyam commented 2 years ago

pkg2appimage doesn't work anymore on Arch. Since aur and rpm are provided, and are working. I will only monitor the issue.

daiyam commented 2 years ago

The lastest AppImage should work.

ramesh45345 commented 2 years ago

I have checked the latest appimage, and confirmed it is working on an up-to-date Arch install.