为什么glibc二进制文件称为libc.so.6而不是libc.so.1或libc.so.4? [英] Why glibc binary is called libc.so.6 not a libc.so.1 or libc.so.4?

查看:581
本文介绍了为什么glibc二进制文件称为libc.so.6而不是libc.so.1或libc.so.4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现代glibc二进制文件在Linux中称为libc.so.6.为什么在这里使用"6"? libc.so.1或libc.so.8也可以是好名字,恕我直言.

The modern glibc binary is called libc.so.6 in Linux. Why is "6" used here? The libc.so.1 or libc.so.8 can be good names too IMHO.

Wikipedia在 http://en.wikipedia.org/wiki/GNU_C_Library 上提供了一些历史记录,但没有解释完全

Wikipedia gives some history at http://en.wikipedia.org/wiki/GNU_C_Library but doesn't explain fully

在1990年代初期,Linux内核的开发者分叉了glibc.他们的分支"Linux libc"被单独维护了多年,并发布了版本2到5.

In the early 1990s, the developers of the Linux kernel forked glibc. Their fork, called "Linux libc", was maintained separately for years and released versions 2 through 5.

当FSF于1997年1月发布glibc 2.0时,.....此时,Linux内核开发人员停止了分叉并返回使用FSF的glibc.[6]

When FSF released glibc 2.0 in January 1997, .... At this point, the Linux kernel developers discontinued their fork and returned to using FSF's glibc.[6]

Linux libc的最后使用版本使用内部名称(soname)libc.so.5.接下来,Linux上的glibc 2.x使用solib libc.so.6

The last used version of Linux libc used the internal name (soname) libc.so.5. Following on from this, glibc 2.x on Linux uses the soname libc.so.6

推荐答案

那些 SONAMEs 已经被使用.由于新版本的库在界面上出现了中断,因此必须为其使用新的主要SONAME编号.

Those SONAMEs have already been used. Since the new version of the library presents a break in the interface, a new major SONAME number must be used for it.

这篇关于为什么glibc二进制文件称为libc.so.6而不是libc.so.1或libc.so.4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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