Closed alansill closed 8 months ago
It may want to link statically, so maybe yum install glibc-static
?
After exploring several alternatives, we decided to add glibc-static to the login and worker nodes of our cluster as the simplest alternative. Note that static linking is often discouraged these days, see https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html#when-not-to-use-5 but it seems the best approach in this case. Thanks for the suggestion.
Starting from a fresh git clone of the repository on Centos 8 Linux using either the default gcc 8.3.1 or a newer gcc 10.2.0, I encounter the same error trying to build anything:
Note librt is available on our system. Is this a version problem? How can I work around this?