centos7 – Unable to build WebRTC code on RHEL 7.4 because of `GLIBC_2.18′ not found error

I am trying to build the WebRTC code on RHEL 7.4 server as per the instructions mentioned on below link:

webrtc.github.io/webrtc-org/native-code/development/

But observing the below error.

$ gn gen out/Debug
../src/buildtools/linux64/gn: /lib64/libc.so.6: version `GLIBC_2.18′ not found (required by ../src/buildtools/linux64/gn)

Looks ‘/src/buildtools/linux64/gn’ is expecting the `GLIBC_2.18′ version , but RHEL 7/CentOS 7 can support till glibc 2.17.

I do not want to upgrade to RHEL 8/CentOS 8 version as of now.

I tried to build gn source code on RHEL 7, but getting different errors.

What is the solution to this problem ?

Read more here: Source link