maurobio, great you have it working system and great you reported back !
But as a real nit picker, I have to point out just what you have done.
First, you installed the official debs, that put a whole lot of lazarus files in the (to you) read only space under /usr. Then, because those files would not run on your older system, you overwrote the deb provided files with, generally, new versions, as root.
And it all worked, good.
But if you now use apt to remove that lazarus.deb package, apt will probably see the files have changed and refuse to remove them cleanly. Its not a great idea to fiddle with apt's view of the world.
You would, IMHO, have been far, far better off downloading the lazarus source, compiling it in your own file area and using it from there. Simple to remove, update, add additional versions and no root access required.
The underlying problem, unfortunately, is that whoever builds those deb packages is not addressing the libc issue. I use a U20.04 VM to build release of my app, having a clean system used only for release also helps pick up surprising dependency issues too.
Davo