Why does libc have two version numbers (on Ubuntu)?
问题 If I run this in Docker's ubuntu:latest : root@4304dfbfa661:/# ls lib/x86_64-linux-gnu/libc* -l -rwxr-xr-x 1 root root 1868984 Jan 15 02:51 lib/x86_64-linux-gnu/libc-2.23.so lrwxrwxrwx 1 root root 12 Jan 15 02:51 lib/x86_64-linux-gnu/libc.so.6 -> libc-2.23.so It seems that libc is numbered as both 6 and 2-23. Why are there two version numbers? NB libc is (idiosyncratically) executable and running it gives root@4304dfbfa661:/# ./lib/x86_64-linux-gnu/libc.so.6 GNU C Library (Ubuntu GLIBC 2.23