I'm building on Ubuntu 20.04 and my program executed on RedHat 8 just fine until I included <cmath>
and used std::pow(double, double)
. Now I get the following error on RedHat 8:
/lib64/libm.so.6: version `GLIBC_2.29' not found (required by /MyOwnLib.so)
What is so special about std::pow
that it requires GLIBC 2.29? This function is very old. Can I somehow force the compiler on Ubuntu to "link" an older version?