GLIBC_2.25 compile on CentOS 7.8

This is just a recipe. I previously had issues with GLIBC, now on my current CentOS 7.8 I can’t update it via yum anymore. This is my (simple) recipe:

tar -xvzf glibc-2.25.tar.gz
cd glibc-2.25/
mkdir build
cd build/
../configure --prefix=/opt/local/glibc-2.25/
make -j8
make install

Of course after that we need to add it to LD_LIBRARY_PATH. Like this:

export LD_LIBRARY_PATH=/opt/local/glibc-2.25/lib

That’s it. A quick note: I was compiling it to get a DL tool that didn’t work at the end, so I went on another direction. Maybe it’s time to update CentOS to CentOS 8.