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.
现代的glibc二进制文件在Linux中称为libc.so.6。为什么这里使用“6”? libc.so.1或libc.so.8也可以是好名字恕我直言。
Wikipedia gives some history at http://en.wikipedia.org/wiki/GNU_C_Library but doesn't explain fully
*在http://en.wikipedia.org/wiki/GNU_C_Library上提供了一些历史记录,但没有完全解释
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.
在20世纪90年代早期,Linux内核的开发人员分享了glibc。他们的分支,称为“Linux libc”,分别维护多年,并发布了版本2到5。
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]
当FSF在1997年1月发布glibc 2.0时,....此时,Linux内核开发人员停止了他们的分支并返回使用FSF的glibc。[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
最后使用的Linux libc版本使用内部名称(soname)libc.so.5。接下来,Linux上的glibc 2.x使用soname libc.so.6
1 个解决方案
#1
8
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.
那些SONAME已经被使用过了。由于新版本的库在界面中呈现中断,因此必须使用新的主要SONAME编号。
#1
8
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.
那些SONAME已经被使用过了。由于新版本的库在界面中呈现中断,因此必须使用新的主要SONAME编号。