[fpc-pascal] libc error on older Linux
Elmar Haneke
elmar at haneke.de
Wed Jun 3 17:19:18 CEST 2026
Am 03.06.26 um 14:00 schrieb Rainer Stratmann via fpc-pascal:
> Am Mittwoch, 3. Juni 2026, 11:53:05 CEST schrieb Elmar Haneke via fpc-pascal:
>> there was an incompatible update in GLIBC.
>>
>> You have to compile against old GLIBC to run on old Linux.
>>
>> Have a look at tools like "distrobox" to get a build-environment.
> This sounds complicated.
> I try to avoid anything that makes my work more complicated.
It is not that complicated as it sounds to be: An environment for
"Debian 11" is created by a single command. Afterward you enter that
environment and install FPC/Lazarus there. You can compile your source
in the third step. The environment does share most of the host's file
system - especially your /home.
As an alternative you can use an old machine to compile.
> On 32 Bit Linux Systems that worked perfectly for more than 20 years. The
> Software runs on more than 100 different Computers with different Linux
> versions.
>
> Now with 64 Bit there are these Problems.
It is caused by the incompatible change in GLIBC 2.34. The distros
before and after are compatible again.
You always might run into unexpected trouble when running a binary
compiled on modern distro when running it on old distro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20260603/ef803777/attachment-0001.htm>
More information about the fpc-pascal
mailing list