简体   繁体   English

找不到GLIBC_2.7

[英]GLIBC_2.7 not found

I am getting the following error when trying to run several executables: 尝试运行多个可执行文件时,我收到以下错误:

/lib/libc.so.6: version `GLIBC_2.7' not found (required by .tools/bridge/bridge)

I have recently upgraded from CentOS 5.3 to 5.7 (I am required to run these tools on CentOS 5, so I can't upgrade to 6). 我最近从CentOS 5.3升级到5.7(我需要在CentOS 5上运行这些工具,所以我不能升级到6)。 I recompiled the whole code but this error still appears. 我重新编译了整个代码,但仍然出现此错误。

Has anyone encountered this type of error? 有没有人遇到过这种类型的错误?

Thanks, Claudiu 谢谢,克劳迪

The error means that you built .tools/bridge/bridge on a system with glibc-2.7 (or later), and are trying to run it on a system that has glibc-2.6 or earlier. 该错误意味着您在具有glibc-2.7 (或更高版本)的系统上构建了.tools/bridge/bridge ,并且正在尝试在具有glibc-2.6或更早版本的系统上运行它。

Linux (and most UNIXes) does not support "build on later, run on earlier"; Linux(以及大多数UNIX)不支持“以后构建,早期运行”; only the reverse scenario is supported. 仅支持反向方案。

See also this answer . 另见这个答案

The 'glibc' is not the latest version, and you can try to update glibc package. 'glibc'不是最新版本,您可以尝试更新glibc包。

yum install glibc

or 要么

yum install glibc-2.7

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM