I made an AppImage of really simple application in C++ that takes one string argument. This string is executed with the function system(). If I try my application using ./my_app ls to list the content of the current folder, the command failed with a segmentation fault on some distribution.
Give the execution right to appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage and execute it.
The test on docker image centos-7 failed
It seems the AppImage generated has some dependencies on the system where it has been built. I read that there is some exceptions where AppImage cannot be run on all distributions when we use very specific library dependant on the hardware. In my case, my app is really simple and I don't understand why it doesn't work.
Hello,
I made an AppImage of really simple application in C++ that takes one string argument. This string is executed with the function
system()
. If I try my application using./my_app ls
to list the content of the current folder, the command failed with a segmentation fault on some distribution.System used: Ubuntu 18
Steps to reproduce:
appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage
and execute it.centos-7
failedIt seems the AppImage generated has some dependencies on the system where it has been built. I read that there is some exceptions where AppImage cannot be run on all distributions when we use very specific library dependant on the hardware. In my case, my app is really simple and I don't understand why it doesn't work.