Re: libc error on older Linux
Warren Postma via fpc-pascal <[email protected]> Wed, 3 Jun 2026 07:55:39 -0700
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <CAPJ9avOB6Ui0AgP7MRTPs4ucqaSvNgsByKbAK7PMYL9XsV7RBw@mail.gmail.com> |
--===============6312694725242793872== Content-Type: multipart/alternative; boundary="000000000000aa2ba006535a9f2c" --000000000000aa2ba006535a9f2c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Obvious question was Debian 11, version 'GLIBC_2.34' could be compiled from source or installed via a backports repo for debian 11, did OP try that? On Wed, Jun 3, 2026 at 7:52=E2=80=AFAM Rainer Stratmann via fpc-pascal < [email protected]> wrote: > > I assume that you don't use this deprecated unit libc, do you? However, > > AFAIK, Lazarus adds a couple of units like cwstrings, cthreads, etc., t= o > > applications automatically, and these imply use of libc.so even without > > using unit libc. Unit cwstrings may be relevant for working with > > UnicodeStrings - does your application use UnicodeStrings / WideStrings= ? > > If not, you might be able to remove that dependency. If you use them, > > you might still try using unit fpwidestring instead. > > > > Tomas > > By now unit libc I can not find on the fly. > > Units cwstrings, cthreads, UnicodeStrings, etc. I don't use. > > Most things I write by myself, except the ssl library and the crypto > library. > > I have to test step by step what causes the issue. > > The same huge (more than 100 units, mostly self written) Program in 32 Bi= t > works perfect as I mentioned already. > > > _______________________________________________ > fpc-pascal maillist - [email protected] > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > --000000000000aa2ba006535a9f2c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Obvious question was Debian 11, =C2=A0<div style=3D"font-= size:inherit" dir=3D"auto"><span style=3D"font-size:inherit;font-style:norm= al;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:non= e;white-space:normal;word-spacing:1px;text-decoration:none;float:none;displ= ay:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);= color:rgb(0,0,0)">version 'GLIBC_2.34' could be compiled from sourc= e or installed via a backports repo for debian 11, did OP try that?</span><= /div><div style=3D"font-size:inherit" dir=3D"auto"><span style=3D"font-size= :inherit;font-style:normal;font-weight:400;letter-spacing:normal;text-inden= t:0px;text-transform:none;white-space:normal;word-spacing:1px;text-decorati= on:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);= border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></span></div><div style=3D"fo= nt-size:inherit" dir=3D"auto"><span style=3D"font-size:inherit;font-style:n= ormal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:= none;white-space:normal;word-spacing:1px;text-decoration:none;float:none;di= splay:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,= 0);color:rgb(0,0,0)"><br></span></div></div><div><br><div class=3D"gmail_qu= ote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Ju= n 3, 2026 at 7:52=E2=80=AFAM Rainer Stratmann via fpc-pascal <<a href=3D= "mailto:[email protected]">[email protected]</a= >> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>= ; I assume that you don't use this deprecated unit libc, do you? Howeve= r,<br> > AFAIK, Lazarus adds a couple of units like cwstrings, cthreads, etc., = to<br> > applications automatically, and these imply use of libc.so even withou= t<br> > using unit libc. Unit cwstrings may be relevant for working with<br> > UnicodeStrings - does your application use UnicodeStrings / WideString= s?<br> > If not, you might be able to remove that dependency. If you use them,<= br> > you might still try using unit fpwidestring instead.<br> > <br> > Tomas<br> <br> By now unit libc I can not find on the fly.<br> <br> Units cwstrings, cthreads, UnicodeStrings, etc. I don't use.<br> <br> Most things I write by myself, except the ssl library and the crypto librar= y.<br> <br> I have to test step by step what causes the issue.<br> <br> The same huge (more than 100 units, mostly self written) Program in 32 Bit = <br> works perfect as I mentioned already.<br> <br> <br> _______________________________________________<br> fpc-pascal maillist=C2=A0 -=C2=A0 <a href=3D"mailto:[email protected]= scal.org" target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal= " rel=3D"noreferrer" target=3D"_blank">https://lists.freepascal.org/cgi-bin= /mailman/listinfo/fpc-pascal</a><br> </blockquote></div></div> --000000000000aa2ba006535a9f2c-- --===============6312694725242793872== 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 --===============6312694725242793872==--