GLIBC_2.7 not found

妖精的绣舞 提交于 2019-12-05 12:57:22

问题


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). I recompiled the whole code but this error still appears.

Has anyone encountered this type of error?

Thanks, Claudiu


回答1:


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.

Linux (and most UNIXes) does not support "build on later, run on earlier"; only the reverse scenario is supported.

See also this answer.




回答2:


The 'glibc' is not the latest version, and you can try to update glibc package.

yum install glibc

or

yum install glibc-2.7


来源:https://stackoverflow.com/questions/8819554/glibc-2-7-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!