RHEL 6 - 如何安装“GLIBC_2.14"或“GLIBC_2.15"? [英] RHEL 6 - how to install 'GLIBC_2.14' or 'GLIBC_2.15'?

查看:57
本文介绍了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

是否有一些用于 RHEL 的带有 GLIBC_2.15 的 EPEL?如果没有 - 这里有什么解决方法?

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

https://ftp.gnu.org/gnu/libc/

例如 glibc-2.14.tar.gz 在你的情况下.

For example glibc-2.14.tar.gz in your case.

1. tar xvfz glibc-2.14.tar.gz
2. cd glibc-2.14
3. mkdir build
4. cd build
5. ../configure --prefix=/opt/glibc-2.14
6. make
7. sudo make install
8. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆