Dear Maintainer, I had to create a file "/etc/ld.so.conf.d/samba.conf", which contains the directory where the libraries are located "/usr/lib/x86_64-linux-gnu/samba" Thanks, Antonio --- before: $ ldd /usr/bin/dumpmscat ... libsamba-debug-private-samba.so.0 => not found ... after (and ldconfig): $ ldd /usr/bin/dumpmscat ... libsamba-debug-private-samba.so.0 => /usr/lib/x86_64-linux-gnu/samba/libsamba- debug-private-samba.so.0 (0x00007725ee4a5000) ...