I'm a little bit confused with these libraries. I'm working on Ubuntu now, I use g++ 5 and I see that my applications link in libc.so. Is it a Ubuntu's implementation of C standard library? Is it different from glibc?
$ ldd application.exe
...
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
...
Current Ubuntu uses glibc for the C standard library implemnetation. The source package is called glibc
, but the installed binary package is called libc6
for historic reasons. You can see the exact version of the libc6
package on your system if you run this command:
dpkg -l libc6
There used to be a temporary fork of glibc called eglibc, but eglibc development has been abandoned; all active eglibc-specific ports were merged into glibc before that.
Ubuntu also has packages for alternative libc implementations such as musl, but the distribution itself does not use them because it is glibc-based.
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