I am trying to build and create an AppImage of my own software using the oldest possible linux distro. It would seems that Ubuntu 14.04 is chosen by other AppImage users, and since it is sufficiently old regarding the final linux distributions I am targeting, I am using also this Ubuntu version.
However, It seems that the current version of linuxdeploy available there https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
doesn’t run on a fresh Ubuntu 14.04:
osboxes@osboxes:~/$ chmod +x linuxdeploy-x86_64.AppImage osboxes@osboxes:~/$ ./linuxdeploy-x86_64.AppImage ./linuxdeploy-x86_64.AppImage: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./linuxdeploy-x86_64.AppImage) ./linuxdeploy-x86_64.AppImage: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./linuxdeploy-x86_64.AppImage) ./linuxdeploy-x86_64.AppImage: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./linuxdeploy-x86_64.AppImage)
I am surprise of this because it would seem that an update of the system is needed, thing that I would prefer not to do, since I want to create a AppImage(s) that include the oldest possible versions of the system libraries in order to maximise compatibility. So a system update should be avoided as much as possible.
Is there a way to run linuxdeploy without updating the system? I tried to build linuxdeploy taken from this repo on the same system but cmake complains that cmake version is too old (CMake 3.2 is required and the available version is 184.108.40.206). So we fall on the same problem: A system update seem to be required to rebuild linuxdeploy.
I am sure I miss something but I don’t see. Any help from you guys?