Re: libc error on older Linux

Elmar Haneke via fpc-pascal <[email protected]> Wed, 3 Jun 2026 11:53:05 +0200
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0366945593551288478==
Content-Type: multipart/alternative;
 boundary="------------06zc0g9v0m2Xkdfc0tHoCzOK"
Content-Language: de-DE

This is a multi-part message in MIME format.
--------------06zc0g9v0m2Xkdfc0tHoCzOK
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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.


Am 03.06.26 um 11:36 schrieb Rainer Stratmann via fpc-pascal:
> The freepascal program is compiled on Debian 13.
> Lazarus: 4.0
> Freepascal Version: I can not found.
>
> Trying to run the program on Debian 11 shows the error
>
> [prgname]: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found
> (required by [prgname])
>
> ? ? ?
>
>
> _______________________________________________
> fpc-pascal maillist  [email protected]
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

-- 
Mit freundlichen Grüßen

Elmar Haneke

===========================================================
|Dr. Elmar Haneke                   Tel: +49-2241-39749-0 |
|                                   Fax: +49-2241-39749-30|
|Haneke Software                    WWW:www.haneke.de    |
|Dr. Elmar und Hubertus Haneke      Mail:[email protected] |
|Johannesstraße 41                                        |
|53721 Siegburg                     USt-IdNr. DE 123387209|
===========================================================

--------------06zc0g9v0m2Xkdfc0tHoCzOK
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <p>there was an incompatible update in GLIBC.</p>
    <p>You have to compile against old GLIBC to run on old Linux.</p>
    <p>Have a look at tools like "distrobox" to get a build-environment.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 03.06.26 um 11:36 schrieb Rainer
      Stratmann via fpc-pascal:<br>
    </div>
    <blockquote type="cite" cite="mid:3310278.XIfvXXk0ta@debian1-3">
      <pre wrap="" class="moz-quote-pre">The freepascal program is compiled on Debian 13.
Lazarus: 4.0
Freepascal Version: I can not found.

Trying to run the program on Debian 11 shows the error

[prgname]: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found 
(required by [prgname])

? ? ?


_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Mit freundlichen Grüßen

Elmar Haneke

===========================================================
|Dr. Elmar Haneke                   Tel: +49-2241-39749-0 |
|                                   Fax: +49-2241-39749-30|
|Haneke Software                    WWW: <a class="moz-txt-link-abbreviated" href="http://www.haneke.de">www.haneke.de</a>    |
|Dr. Elmar und Hubertus Haneke      Mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> |
|Johannesstraße 41                                        |
|53721 Siegburg                     USt-IdNr. DE 123387209|
===========================================================
</pre>
  </body>
  <lt-container></lt-container>
</html>

--------------06zc0g9v0m2Xkdfc0tHoCzOK--

--===============0366945593551288478==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0366945593551288478==--