On Wed, 3 Jun 2026, Rainer Stratmann via fpc-pascal wrote:

Compiled on Debian 13 in a KDE environment, runs fine.
Debian 13 (without KDE) runs fine
Debian 11 (without KDE) does not work as already described.
Debian 12 (without KDE) works.

Can I put an older libc.so.6 somewhere and say fpc that it should use
that
library for compiling?

The question is - do you really need to use libc at all then?

Tomas

I made a little writeln( 'Hello' ); Testprogram with all units from the big
Program.

The unit dynlibs causes the issue.

If I compile it without dynlibs then it runs.

That's not a surprise.

Using dynlibs links your program to the C library, which is needed to load 
other C
dynamic libraries.

So as soon as you use it, your program depends on the C library, and you
need to deal with C library versions.

Michael.
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to