The runtime expects the function to be available on all Linux systems, but it appeared only in GLIBC 2.8
GLIBC 2.8 is almost 5 years old. Why do you need to use such an old libc?
Some people still run CentOS 5.
https://github.com/D-Programming-Language/druntime/pull/1059
There are a few more issues for CentOS 5. The elf.h header is missing some newer relocation types, e.g. R_X86_64_PC64. Phobos is linking against libcurl.so.4, but only .so.3 is available. So if you're still interested in fixing those, please contribute :).
Glibc 2.8 was released in April 2008: https://sourceware.org/ml/libc-alpha/2008-04/msg00050.html CentOS 5 went EOL on 2017-03-31. Closing this as WONTFIX. Patches for supporting older platforms are welcome, but I don't think anyone going through the bug is going to tackle this.