bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
406 stars 57 forks source link

Release 7.2.2 does not run in Debian 11 64 bit. #531

Open fredvs opened 2 years ago

fredvs commented 2 years ago

Hello.

I try to run, on last Debian 11, LazPaint from _lazpaint7.2.2_linux64_noinstall.tar but get this error.

> /home/fred/Downloads/lazpaint/lazpaint

/home/fred/Downloads/lazpaint/lazpaint: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/fred /Downloads/lazpaint/lazpaint)

This means that you have compiled + linked with a version of libc.so.6 newer than the one of Debian 11 ( GLIBC 2.31for Debian 11) ( Note that libc.so.6 is also a executable!)

fred@fred-80m0 ~> /lib/x86_64-linux-gnu/libc.so.6

GNU C Library (Debian GLIBC 2.31-13+deb11u3) stable release version 2.31. Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 10.2.1 20210110.

My humble advice is, for release, to be compatible with a maximum of distros, to compile it with a older version of libc.so.6, maybe from the last Debian LTS: https://wiki.debian.org/LTS/Extended It is Debian 10 “Buster”

fredvs commented 1 year ago

Hello.

Screenshot of LazPaint compiled on last Xubuntu 23.04 and run on Ubuntu 10.04 from 2010. (previous versions of Ubuntu did not install on my VM).

lazpaint_2010

Here the binary for Linux amd64. lazpaint_timeless_linux_amd64.zip

It was compiled with new fpc-ootb-glibc225 that does not need to tweak with a fake libdl.so. https://github.com/fredvs/freepascal-ootb/releases/download/3.2.2/fpc-ootb-322-x86_64-linux_glibc225.zip

(Tant pis si FPC ne bouge pas, moi j'avance...)

circular17 commented 1 year ago

Super !

J'ai ajouté l'archive timeless_no_install dans la release: https://github.com/bgrabitmap/lazpaint/releases/download/v7.2.2/lazpaint7.2.2_timeless_linux_amd64.zip