[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: appimage with 24.04
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Re: appimage with 24.04
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Mon, 11 Aug 2025 15:20:54 -0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 8/10/25 13:32, Brian G wrote:
OK, this is what I have found out, looks bad, number one the appimage stuff has not actually been maintained for about two or three years., at least in the official repo. to fix these problems we would have to patch the appimage-builder our selves, as the project is currently looking for a new maintainer.On 8/10/25 13:28, Benoît Minisini wrote:is it possible that the appimage-builder is not deploying to the compat directory the same versions of libraries that we build on the suse builder platform. As this is the same error that happens with the non debug version of the app from the suse repository.Le 10/08/2025 à 22:11, Brian G a écrit :On 8/10/25 10:05, Benoît Minisini wrote:Ok, I have a back trace, can anyone identify what might be going on here? Ben?Le 10/08/2025 à 17:00, Brian G a écrit :How do i generate a gbx3 with debug info included?If you compile from sources, debugging information is enabled by default.Otherwise it's './configure' with '--disable-debug' or '--enable-debug'.But inside your AppImage, you should have a Gambas extracted from Ubuntu binary packages, so without debugging information. :-/I think the solution is compiling the exact same version of Gambas installed in the AppImage inside a Ubuntu VM having the exact same version of the Ubuntu used for filling the AppImage.Then you can use the resulting 'gbx3' with the core dump generated by the AppImage.Regards,No. According to internet, an error in '_dl_relocate_object' is usually an incompatibility between the program and one of the library it requires.
the issues are as follows:1) When using the compat path, that is when the libc version is equal or higher than the system version of libc. appimage builder neglects to create the ~/.var/AppImage//AppDir/runtime/compat/lib64/ld-linux-x86-64.so.2, file which is required because it sets the path to the ld-linux-x86-64.so.2 file explicitly. This causes the file not found error.
2) AppImage-Builder trys to patch the libc file to put some path into it for binaries, this fails in the latest version of libc, causes a segfault.
In order to actually produce a clean appimage that functions correctly for libc2.39 or greater perhaps:(for me anyway..lol)
Make sure you have the appimagetool installed on your system.Run the appimage-builder, that is just do the usual ' make installation package' in gambas with appimage checked.
Navigate to the ~/.var/AppImage/AppDir, edit the desktop file and remove the .png extension from the icon name
Create a new directory ~/.var/AppImage/AppDir/runtime/compat/lib64/ Create a link in this directory using ln -s ../usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ld-linux-x86-64.so.2
Navigate to ~/.var/tmp/AppImage/AppDir/runtime/compat/usr/lib/x86_64-linux-gnu/ remove the lib.so.6 file that was mangled by the builder, replace with version from repository you are using or if you built your app on the current system 2.39 libc then just copy it from the /lib/x86_64-linux-gnu/ directory to this directory.
Now go to this directory ~/.var/tmp/AppImage/AppDir/ run 'ARCH=x86_64 appimagetool .' yes include the dotThe app image created should be working, cross fingers. I will give this a little more testing, you may also have to copy the ld-linux-x86-64.so.2 file as well to '~/.var/tmp/AppImage/AppDir/runtime/compat/usr/lib/x86_64-linux-gnu/' perhaps the builder mangles it as well in some cases.
Over all we could just create the appimage bundle from gambas and use the appimagetool instead of the builder I am sure we can chroot to do the install etc... right!
I have a debug version of the AppRun application if anyone needs or wants this, you just replace the one in ~/.var/AppImage/AppDir with this one and run appimagetool again.
I hope this helps, if anyone really wants this to work, I could update the gambas installation for appimages to use appimagetool instead, if of course Ben thinks it is worth the effort.
-- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
Re: appimage with 24.04 | Linus <olivier.cruilles@xxxxxxxx> |
Re: appimage with 24.04 | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: appimage with 24.04 | Brian G <brian@xxxxxxxxxxxxxxxx> |