>Can you please try to call /usr/sbin/ldconfig.old to check if the wrong link is recreated? That's needed to confirm if ldconfig is the culprit here. >Can you confirm it's libpthread.so.1 and not libpthread.so.0? If so can you please tell how did you install that file?
Here is a shell log, literally ~# ls -l /lib/x86_64-linux-gnu/ | grep libcrypt -rw-r--r-- 1 root root 266262 Apr 18 20:46 libcrypt.a lrwxrwxrwx 1 root root 35 Apr 18 20:46 libcrypt.so -> /lib/x86_64-linux-gnu/libcrypt.so.1 lrwxrwxrwx 1 root root 17 Apr 18 20:46 libcrypt.so.1 -> libcrypt.so.1.1.0 -rw-r--r-- 1 root root 202680 Apr 18 20:46 libcrypt.so.1.1.0 ~# /usr/sbin/ldconfig.old ~# ls -l /lib/x86_64-linux-gnu/ | grep libcrypt -rw-r--r-- 1 root root 266262 Apr 18 20:46 libcrypt.a lrwxrwxrwx 1 root root 35 Apr 18 20:46 libcrypt.so -> /lib/x86_64-linux-gnu/libcrypt.so.1 lrwxrwxrwx 1 root root 15 Sep 30 07:53 libcrypt.so.1 -> libpthread.so.1 -rw-r--r-- 1 root root 202680 Apr 18 20:46 libcrypt.so.1.1.0 I struggle to reveal the origins of libpthread.so.1. It can easily be a result of unqualified experimentation, but not necessarily. Of course, if this is the case its presence in the system is completely my fault and not in any sense yours. Anyway, dpkg -S doesn't match it with any of packages currently installed, and another attempts to guess where the library comes from didn't lead to any answer.