WOW, unbelievable ! This thread is many months old and we had a clash. abouchez, maybe my summary will help ?
OK, so its an old thread but still a problem.
I thought I'd summarize where we are at !
The issue as we know is that, on Linux system, binaries compiled on a system with glib6-2.34 or later will not work on systems using an earlier glibc6. These Ubuntu and Debian distros use the following glibc6 -
* U20.04 - 2.31
* U21.04 - 2.33
* U21.10 - 2.34 (Impish)
* U22.04 - 2.35 (Jammy)
* D.Bullseye - 2.31
* D.Bookworm - 2.34
If you build your app on Ubuntu Jammy or Impish or on Debian Bookworm it will not run on a number of still currently supported systems. I am talking here about Ubuntu and Debian but obviously, same situation applies for all the other distributions !
To my surprise, a build on Jammy works fine on Impish so its a one off problem, not ongoing.
I, personally, will keep a Ubuntu 20.04 system going to use as a build machine for the packages I distribute directly, they will run everywhere and I can have a current FPC/Lazarus on them.
But I also distribute through an Ubuntu PPA, there you must use the FPC/Lazarus provided by the target release or build newer ones from a source package. Ubuntu, Bionic, U18.04 for example has Lazarus 1.8 and is still an officially supported release until April 2023.
I have in the past ported Lazarus 2.0.10 and FPC3.0.2 from Debian Backports to a PPA but really don't want to do that again, because Debian break these up into tiny little modules, its just too messy.
I assume the really good Lazarus and FPC debs distributed through SourceForge are built as binaries from the start, not as source packages ? If source, they could be pushed to a PPA ...
Sigh ....
Anyway, there it is, if you build and distribute binaries to other Linux users, beware !
Davo