I thought that building the executable on free Pascal would be based on the oldest possible library !!
Free Pascal prefers to let the linker choose the signed symbol table to assign to each glibc method. So it depends on the system that linked the program. And hopefully this table is compatible with the original glib2.5.5 table used by fpc.
In your case the table glibc.2.34 was not yet part of your libc.so.6.
If fpc assigned each glibc methods with the table it has been using since the beginning (glibc.2.5.5.) this would not be a problem.
So far fpc has been lucky, the glibc.2.34 table assigned by the linker is still compatible with table glibc.2.5.5.
But what's next?