Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Wayne Sherman via lazarus
On Thu, Mar 16, 2023 at 4:36 PM Bo Berglund wrote: > when I try to run it: > videosplitcmb: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found > (required by videosplitcmb) There was a discussion and related bug report on this issue: https://forum.lazarus.freepascal.org/index.php/top

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Kostas Michalopoulos via lazarus
On 3/17/23 15:19, Sven Barth via lazarus wrote: Depending on the used units static linking is simply not an option. E.g. the database units load the database libraries dynamically and thus the C library must not be linked statically then. glibc officially highly discourages static linking anyw

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 14:28:28 +0100 (CET), Michael Van Canneyt via lazarus wrote: >> Since I am only using FPC units, how can I know??? > >You want to say that you don't even know what the units do that you are using ? > >You have no idea how scary that is to me... > No, I wanted to say how could

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 14:17:11 +0100, Sven Barth via lazarus wrote: >Bo Berglund via lazarus schrieb am Fr., 17. >März 2023, 13:54: >> This aplication is a console (i.e NO GUI) application and it only uses >> these >> units: >> >> videosplitcmb.lpr: >> >> uses >> {$IFDEF UNIX} >> cthreads, >

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Mehmet Erol Sanliturk via lazarus
On Fri, Mar 17, 2023 at 4:19 PM Sven Barth via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Mehmet Erol Sanliturk via lazarus schrieb > am Fr., 17. März 2023, 12:58: > >> >> >> On Fri, Mar 17, 2023 at 10:07 AM Bo Berglund via lazarus < >> lazarus@lists.lazarus-ide.org> wrote: >> >>> On Fri,

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Michael Van Canneyt via lazarus
On Fri, 17 Mar 2023, Bo Berglund via lazarus wrote: On Fri, 17 Mar 2023 08:43:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: FPC has not changed. It still works the same. Everything that is under control of FPC is linked statically. But a complex GUI system like the LCL uses GTK/G

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Sven Barth via lazarus
Mehmet Erol Sanliturk via lazarus schrieb am Fr., 17. März 2023, 12:58: > > > On Fri, Mar 17, 2023 at 10:07 AM Bo Berglund via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus >> wrote: >> >> >Some portability is obtaine

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Fr., 17. März 2023, 13:54: > On Fri, 17 Mar 2023 08:43:55 +0100 (CET), Michael Van Canneyt via lazarus > wrote: > > >FPC has not changed. It still works the same. > >Everything that is under control of FPC is linked statically. > > > >But a complex GUI system l

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 08:43:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >FPC has not changed. It still works the same. >Everything that is under control of FPC is linked statically. > >But a complex GUI system like the LCL uses GTK/GDK/Qt and other libraries, >and those are dynamic, ex

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Mehmet Erol Sanliturk via lazarus
On Fri, Mar 17, 2023 at 10:07 AM Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus > wrote: > > >Some portability is obtained if the libraries are linked as "static" . > >If "dynamic" linking is selected , durin

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Michael Van Canneyt via lazarus
On Fri, 17 Mar 2023, Bo Berglund via lazarus wrote: On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus wrote: Some portability is obtained if the libraries are linked as "static" . If "dynamic" linking is selected , during execution of the program , the "same" library sh

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus wrote: >Some portability is obtained if the libraries are linked as "static" . >If "dynamic" linking is selected , during execution of the program , >the "same" library should be in the executing computer . > How is this accom