On Fri, 17 Mar 2023 14:17:11 +0100, Sven Barth via lazarus <lazarus@lists.lazarus-ide.org> wrote:
>Bo Berglund via lazarus <lazarus@lists.lazarus-ide.org> 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, >> {$ENDIF} >> Classes, >> { you can add units after this } >> >> and >> >> utils.pas: >> >> uses >> Classes, >> SysUtils, >> Process; >> >> What is complex here? >> > >Your code uses threads and on *nix systems that requires the C library. Ok, my code does in fact NOT use threads but that is a standard uses clause that gets inserted in all new projects created in Lazarus... Anyway, on the Ubuntu 22.04 machine I now commented out cthreads and rebuilt the application, then copied the binary over to the Ubuntu 20.04 system where it previously did not run. Result: It does no longer throw this error! Thanks a lot for the suggestion! >Regards, >Sven -- Bo Berglund Developer in Sweden -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus