Version `GLIBC_2.38' not found (required by mongos)

The first step is to check the target of glibc in the operating system.
The second step is to download the corresponding version of glibc or install it with apt/dnf/yum, or upgrade glibc.