I have a tool that is compiled on Ubuntu 22.04, but this tool needs to run on a Centos 7 system. Ubuntu has a higher version of glibc and when running the compiled tool on Centos 7, it has error:
ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found
This error is from a shared library file that is needed in the tool. So I want to include this /lib64/libm.so.6
file into the shared library, and this shared library is imported and used by python, so I can not change it to static library. What should I do here?