[fpc-devel] ... undefined symbol: calloc, version GLIBC_2.2.5

Florian Klämpfl florian at freepascal.org
Sun May 21 15:37:40 CEST 2023


Starting with Glibc 2.23, Glibc messes around again with symbols. 
Basically the dyn. linker expects that every dyn. linked executable is 
linked against glibc. If you don't do so, calloc is missing: e.g. 
./tw12704b: symbol lookup error: ./tw12704b: undefined symbol: calloc, 
version GLIBC_2.2.5

Anybody looked already into it and worked out a solution? Always linked 
against glibc is out of question.


More information about the fpc-devel mailing list