Apollo Router GLIBC requirement

I am trying to run the apollo router on CentOS 8, which has GLIBC v2.28. I am getting the following error

/lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./dist/router)

Based on the conversation here it seems like the goal was for the router to be able to run “anywhere”, including a minimum glibc of 2.11. Decide Runtime Targets · Issue #65 · apollographql/router · GitHub

Has this changed? Is glibc 2.29 required for router?

  1. Upgrade your system to a more recent version or a different distribution that comes with GLIBC 2.29 or newer. For example, you could switch to CentOS Stream or another distribution like Ubuntu 20.04.
  2. Build the Apollo Router from source on your CentOS 8 machine. This would allow you to compile it with the GLIBC version available on your system. You can follow the build instructions on the Apollo Router’s GitHub repository.
  3. Use a Docker container that has a compatible GLIBC version, and run the Apollo Router inside that container. This would allow you to use the newer GLIBC version without affecting your main system.