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 gives some history at http://en.wikipedia.org/wiki/GNU_C_Library but doesn't explain fully
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
The pathname /lib/libc. so. 6 (or something similar) is normally a symbolic link that points to the location of the glibc library, and executing this pathname will cause glibc to display various information about the version installed on your system.
libc is a single library file (both . so and . a versions are available) and in most cases resides in /usr/lib . However, the glibc (GNU libc) project provides more than just libc - it also provides the libm mentioned earlier, and other core libraries like libpthread .
The libc. so. 6 file is present in the libc6 package.
libc.so is required to run unix commands like ssh or awk that were written in C and use dynamic (runtime) linking. libc.so is a link to libc. so. 1 which is the "base" version of the C library for the implementation of Solaris 10 you are running.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With