I have came across a situation today on my CentOS 6.7 VM, where I'm trying install any package via yum I'm getting the below given error:
yum install gcc
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libssl.so.10)
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 23 2015, 15:22:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
I got the compilation steps for 'GLIBC_2.14' from the below given link:
How to update glibc to 2.14 in CentOS 6.5
But gcc is not already installed on my VM. So I am getting the following error on the configure step:
../configure --prefix=/opt/glibc-2.14
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/dir/glibc-2.14/build':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
I can't use yum to install gcc. How can I solve this issue?