找不到GLIBCXX_3.4.15,GLIBC_2.15和GLIBC_2.14-Centos 6.5 [英] GLIBCXX_3.4.15, GLIBC_2.15 and GLIBC_2.14 not found - Centos 6.5

查看:158
本文介绍了找不到GLIBCXX_3.4.15,GLIBC_2.15和GLIBC_2.14-Centos 6.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行应用程序,但得到

I am trying to run an app but I get

...
/usr/lib64/libstdc++.so.6: VERSION 'GLIBCXX_3.4.15' not found
/lib64/libc.so.6: VERSION 'GLIBC_2.15' not found
/lib64/libc.so.6: VERSION 'GLIBC_2.14' not found
...

当我执行字符串/ usr / lib64 /libstdc++.so.6 | grep GLIBC我得到一个普通列表...

When I do "strings /usr/lib64/libstdc++.so.6 | grep GLIBC" i get a normal list...

...
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
...
GLIBCXX_3.4.13
GLIBCXX_2.2.5
GLIBCXX_2.3.2
...

我似乎没有找到有关如何安装缺少的lib /文件/依赖项(或Centos 6.5或该版本的其他任何文件)。

I don't seem to find a simple tutorial on how to install the missing libs/files/dependencies, (or Centos 6.5 or anything else for that mater).

有人可以解释如何安装Centos上可能缺少的内容吗?

Can someone explain how to install whatever might be missing on Centos?

推荐答案


有人可以解释如何安装Centos上可能缺少的内容吗?

Can someone explain how to install whatever might be missing on Centos?

您需要 glibc> = 2.15 libstdc ++> = 3.4.15

理论中,安装例如系统上的 glibc-2.19 应该可以工作(glibc提供向后二进制兼容性),但是此消息建议您无法通过这种升级找到适用于您操作系统的标准软件包。

In theory, installing e.g. glibc-2.19 on the system should work (glibc provides backward binary compatibility), but this message suggests that you would not find a standard package for your OS with such an upgrade.

相反,您必须安装第二个版本的glibc,例如在此处进行了记录,然后通过对应用程序中编码的加载程序进行二进制修补来重定向您的应用程序以使用该版本,或者在chroot中运行您的应用程序(您可以在其中安装所需的任何glibc版本)。

Instead you would have to either install a second version of glibc, as documented here, and redirect your application to use that version by binary-patching the loader encoded into the application, or run your application in a chroot (where you can install any version of glibc you like).

类似的注意事项也适用于 libstdc ++。so.6 ,除非您不必将其安装到固定版本中。位置-您可以在任何位置安装较新的副本,然后将 LD_LIBRARY_PATH 指向它。

Similar considerations apply to libstdc++.so.6 as well, except you don't have to install it into the fixed location -- you can install newer copy anywhere, and point LD_LIBRARY_PATH to it.

您的最终版本(而且很可能是易st)的替代方法是构建要从源代码运行的应用程序,或获取用于分发的预构建二进制文件(不需要比您拥有的库新的库)。

Your final (and most likely easiest) alternative is to build the app you are trying to run from source, or obtain a pre-built binary for your distribution (one that doesn't require newer libraries than what you have).

这篇关于找不到GLIBCXX_3.4.15,GLIBC_2.15和GLIBC_2.14-Centos 6.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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