Samba-tool not working: libserver-role-samba4.so: cannot open shared object file: No such file or directory

I’m configuring a samba server, following this guide. At the point of running samba-tool i get this error

Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 33, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib64/python3.6/site-packages/samba/__init__.py", line 29, in <module>
    import samba.param
ImportError: libserver-role-samba4.so: cannot open shared object file: No such file or directory
DC1:~ #

I have installed
samba-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64
samba-tool-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64
samba-libs-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64

I have searched in opensuse.pkgs.org and samba-libs do not provide itand samba-tool does not seem to require it

is it broken?

samba-client-libs

DC1:~ # zypper in samba-client-libs
Loading repository data...
Reading installed packages...
'samba-client-libs' is already installed.
No update candidate for 'samba-client-libs-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
DC1:~ # 

ups! it is not the only program that fails

DC1:~ # pdbedit --help
pdbedit: error while loading shared libraries: libcmdline-samba4.so: cannot open shared object file: No such file or directory
DC1:~ # 

And are those files actually present?

ls -l /usr/lib64/samba

No the files are not there… I don’t know what I did but I must messed up something.

DC1:~ # ls -l /usr/lib64/samba
total 3272
drwxr-xr-x 1 root root      14 dic 26 11:12 auth
drwxr-xr-x 1 root root       0 oct 30 09:53 charset
drwxr-xr-x 1 root root       0 oct 30 09:53 config
drwxr-xr-x 1 root root       0 oct 30 09:54 ldb
drwxr-xr-x 1 root root       0 oct 30 09:53 rpc
-rwxr-xr-x 1 root root 1429328 oct 30 09:54 rpcd_classic
-rwxr-xr-x 1 root root   35088 oct 30 09:54 rpcd_epmapper
-rwxr-xr-x 1 root root   71952 oct 30 09:54 rpcd_fsrvp
-rwxr-xr-x 1 root root  436536 oct 30 09:54 rpcd_lsad
-rwxr-xr-x 1 root root   76104 oct 30 09:54 rpcd_mdssvc
-rwxr-xr-x 1 root root  499336 oct 30 09:54 rpcd_spoolss
-rwxr-xr-x 1 root root   80144 oct 30 09:54 rpcd_winreg
-rwxr-xr-x 1 root root  511656 oct 30 09:54 samba-bgqd
-rwxr-xr-x 1 root root  182536 oct 30 09:54 samba-dcerpcd
-rwxr-xr-x 1 root root   14536 oct 30 09:54 smbspool_krb5_wrapper
drwxr-xr-x 1 root root     998 dic 26 11:12 vfs
DC1:~ # rpm -ql samba-client-libs |grep  libcmdline-samba4.so 
/usr/lib64/samba/libcmdline-samba4.so
DC1:~ #

I have reinstalled all samba related packages and now both packages work… I hope is the only thing was messed up.