首页 Linux linux – 为什么glibc二进制文件名为libc.so.6而不是libc.so.1或libc.so.4?

linux – 为什么glibc二进制文件名为libc.so.6而不是libc.so.1或libc.so.4?

现代的glibc二进制文件在 Linux中称为libc.so.6.为什么这里使用“6”? libc.so.1或libc.so.8也可以是好名字恕我直言. 维基百科在http://en.wikipedia.org/wiki/GNU_C_Library给出了一些历史,但没有完全解释 In the early 1990s, the developers of the Linux

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

维基百科在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.

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]

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编号.

本文来自网络,不代表青岛站长网立场。转载请注明出处: https://www.0532zz.com/html/zhonghe/fwq/linux/20201230/14297.html
上一篇
下一篇

作者: dawei

【声明】:青岛站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

为您推荐

返回顶部