不同版本的glibc的兼容性如何? [英] How compatible are different versions of glibc?

查看:1204
本文介绍了不同版本的glibc的兼容性如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

特别是:

  1. 是否可以确保glibc 2.x的所有版本都是二进制兼容的?

  1. Is it assured somehow that all versions of glibc 2.x are binary compatible?

如果没有,如何在已为其他版本编译的系统上运行二进制文件(游戏)?我可以在其他文件夹中安装glibc吗?

If not, how can I run a binary (game) on my system which has been compiled for a different version? Can I install glibc in a different folder?

我的具体问题是glibc 2.14(我拥有的)和2.15(游戏想要的)之间的兼容性.

My specific problem is the compatibility between glibc 2.14 (what I have) and 2.15 (what the game wants).

我也许还会得到glibc 2.13的版本,但是我不确定该版本是否可以在2.14上运行.

I might also get a version for glibc 2.13 but I'm not sure if that will run on 2.14.

推荐答案

通常,为较旧的glibc版本(例如2.13)编译的运行二进制文件将在具有较新glibc(例如2.14)的系统上正常运行系统).

In general, running binaries that were compiled for an older glibc version (e.g. 2.13) will run fine on a system with a newer glibc (e.g. 2.14, like your system).

在具有较旧glibc的系统上运行为较新glibc构建的二进制文件(例如2.15,就像发生故障的二进制文件一样)可能无法正常工作.

Running a binary that was built for a newer glibc (e.g. 2.15, like the one that fails) on a system with an older glibc will probably not work.

简而言之,glibc是向后兼容的,而不是前向兼容的.

In short, glibc is backward-compatible, not forward-compatible.

这篇关于不同版本的glibc的兼容性如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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