This happens when you invoke ldc2 on a machine which runs Rocky Linux 8 (8.9; EoL May 31, 2029 [1]). The ldc2 is in [2]. I would appreciate if the tarballs will be prepared on the oldest and not on the latest OS releases available.
[1] https://wiki.rockylinux.org/rocky/version/
[2] https://github.com/ldc-developers/ldc/releases/tag/v1.36.0
https://github.com/ldc-developers/ldc/releases/download/v1.36.0/ldc2-1.36.0-linux-x86_64.tar.xz