I am trying to build webrtc on CentOS7. I was able to install all the webrtc required dependency I am facing an issue where gn(meta-build system that generate Ninja Files) complains that it cannot find GLIBC_2.18
. I am following the build instructions from here (https://webrtc.org/native-code/development/) and getting this error on generating ninja build files stage.
Stacktrace of the Error:
$ gn gen out/debug-x64 "--args=enable_iterator_debugging=false is_component_build=false"
webrtc-checkout/src/buildtools/linux64/gn: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by webrtc-checkout/src/buildtools/linux64/gn)
Any pointers on how I can resolve this without upgrading the glibc version. I did a grep on libc.so.6 to find the glibc versions supported :
$ strings /lib64/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17