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:

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

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

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

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

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

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,

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 ,

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

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

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

2023-03-16 Thread Mehmet Erol Sanliturk via lazarus
On Fri, Mar 17, 2023 at 8:18 AM Kostas Michalopoulos via lazarus < lazarus@lists.lazarus-ide.org> wrote: > On 3/17/23 01:36, Bo Berglund via lazarus wrote: > > I do not know what the library libc.so.6 even does > > It is the C library that one or more of units/libraries you are linking >

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

2023-03-16 Thread Kostas Michalopoulos via lazarus
On 3/17/23 01:36, Bo Berglund via lazarus wrote: I do not know what the library libc.so.6 even does It is the C library that one or more of units/libraries you are linking against require. The issue is that you are making a binary on a newer version of glibc (the C library) than the

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

2023-03-16 Thread Bo Berglund via lazarus
I have used Lazarus 2.2.6 with fpc 3.2.2 on an Ubuntu 22.04 PC (recently dist-upgraded from 20.04) to modify a video handling command line utility I started back in 2018. It uses calls to ffmpeg to do the actual video stuff and it was originally built using earlier versions of Lazarus (2.0.12) and