RHEL 6-如何安装“ GLIBC_2.14”或“ GLIBC_2.15”? [英] RHEL 6 - how to install 'GLIBC_2.14' or 'GLIBC_2.15'?
本文介绍了RHEL 6-如何安装“ GLIBC_2.14”或“ GLIBC_2.15”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在RHEL 6 linux系统上安装这2个软件包。
它们是其他几个程序所必需的。
I need these 2 packages installed on RHEL 6 linux system. They are required by several other programs.
当我这样做时:
sudo yum install glibc-devel
这是输出:
Loaded plugins: product-id, security
Setting up Install Process
Package glibc-devel-2.12-1.166.el6_7.1.x86_64 already installed and latest version
Nothing to do
使用GLIBC_2是否有一些EPEL。 15 RHEL?
如果不是,这里有什么解决方法?
Is there some EPEL with GLIBC_2.15 for RHEL? If not - what is a workaround here?
推荐答案
在RHEL 7中构建软件并尝试运行时,通常会发生这种情况可以在RHEL 6上运行。
This often occurs when you build software in RHEL 7 and try to run on RHEL 6.
要将GLIBC更新到任何版本,只需从
To update GLIBC to any version, simply download the package from
例如您的案例中的glibc-2.14.tar.gz。
For example glibc-2.14.tar.gz in your case.
- tar xvfz glibc-2.14.tar。 gz
- cd glibc-2.14
- mkdir构建
- cd构建
- ../ configure --prefix = / opt / glibc-2.14
- make
- sudo make install
- 导出LD_LIBRARY_PATH = / opt / glibc-2.14 / lib:$ LD_LIBRARY_PATH
- tar xvfz glibc-2.14.tar.gz
- cd glibc-2.14
- mkdir build
- cd build
- ../configure --prefix=/opt/glibc-2.14
- make
- sudo make install
- export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
然后尝试运行软件glibc- 2.14应该链接起来。
Then try to run your software, glibc-2.14 should be linked.
这篇关于RHEL 6-如何安装“ GLIBC_2.14”或“ GLIBC_2.15”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文