J'ai récemment ouvert un fil de discussion aquí avec un titre identique qui me suggérait de purger mon samba et de le réinstaller sur la base d'une ancienne question postée dans ce forum.
Je pensais que tout était réglé lorsque j'ai purgé samba car je n'avais plus d'erreurs apt-get, cependant, j'ai réalisé que le problème persistait toujours lorsque je viens de réaliser que mon gnome-control-center
utilise des bibliothèques SAMBA défectueuses.
~ gnome-control-center
gnome-control-center: error while loading shared libraries: libaesni-intel.so.0: cannot open shared object file: No such file or directory
~ ldd /usr/bin/gnome-control-center
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba3-util.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libmsrpc3.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libutil-cmdline.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgse.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsecrets3.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/liblibcli-lsa3.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libcli-smb-common.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/liblibsmb.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libtime-basic.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libtalloc-report.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libCHARSET3.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsocket-blocking.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libutil-setid.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libserver-role.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libtdb-wrap.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsys-rw.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libmessages-util.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libinterfaces.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libiov-buf.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsmb-transport.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libserver-id-db.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libmessages-dgm.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libutil-reg.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libdbwrap.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libutil-tdb.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba3-util.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libcli-smb-common.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsmbconf.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libtime-basic.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/lbsys-rw.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsocket-blocking.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libtime-basic.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libtevent-util.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr-standard.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr-standard.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamdb-common.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libdbwrap.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libldbsamba.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libutil-tdb.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libauthkrb5.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libkrb5samba.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-credentials.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-hostconfig.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libserver-role.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-hostconfig.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamba-hostconfig.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libdcerpc-binding.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgensec.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libdcerpc-binding.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libdcerpc-binding.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libdcerpc-binding.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr-nbt.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr-nbt.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libwbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libwinbind-client.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libwbclient.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libauthkrb5.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-debug.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libreplace.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamdb-common.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libldbsamba.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libkrb5samba.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libsamdb.so.0)
/usr/bin/gnome-control-center: /usr/lib/x86_64-linux-gnu/samba/libsamba-security.so.0: version `SAMBA_4.11.6_UBUNTU' not found (required by /lib/x86_64-linux-gnu/libndr-krb5pac.so.0)
...
libaesni-intel.so.0 => not found
...
En approfondissant le problème, j'ai remarqué que même après avoir purgé samba, les bibliothèques restent à /usr/lib/x86_64-linux-gnu/samba
et sont utilisés par d'autres programmes.
J'ai réinstallé samba, samba-common-bin et samba-libs, mais cela ne résout rien.
Ma question est la suivante : comment puis-je résoudre ce problème sans aggraver la situation ?
Pourquoi libaesni-intel.so.0 n'est-il pas détecté ?
~ uname -a
Linux user 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux