Centos 6.7にGLIBC_2.14とCコンパイラはありません。

Centos 6.7にGLIBC_2.14とCコンパイラはありません。

私は今日CentOS 6.7仮想マシンでyumを介してパッケージをインストールしようとしましたが、次のエラーが発生する状況に直面しました。

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

以下のリンクで「GLIBC_2.14」のコンパイル手順を実行しました。

CentOS 6.5でglibcを2.14に更新する方法

しかし、私の仮想マシンにはまだgccがインストールされていません。したがって、構成フェーズで次のエラーが発生します。

../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

yumを使用してgccをインストールすることはできません。この問題をどのように解決できますか?

ベストアンサー1

おすすめ記事