加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-13 19:52:28 所属栏目: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
现代的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编号.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读