[Samba] Samba-tool error after update to 4.12.0

Rowland penny rpenny at samba.org
Wed Apr 15 17:36:49 UTC 2020


On 15/04/2020 18:03, David Coelho via samba wrote:
> Hi everyone,
>
> I have just updated samba from 4.11.6  to 4.12.0, compiled by the sources.
> Everything was fine and AD server is ok , but when I call samba-tool this
> error always appear:
>
> ldb: unable to dlopen /usr/lib64/samba/ldb/local_password.so :
> /usr/lib64/samba/libsamdb-common-samba4.so: version `SAMBA_4.11.6' not
> found (required by /usr/lib64/samba/ldb/local_password.so)
> ldb: unable to dlopen /usr/lib64/samba/ldb/simple_dn.so :
> /usr/lib64/samba/libdsdb-module-samba4.so: version `SAMBA_4.11.6' not found
> (required by /usr/lib64/samba/ldb/simple_dn.so)
> ldb: unable to dlopen /usr/lib64/samba/ldb/simple_ldap_map.so :
> /usr/lib64/samba/libsamdb-common-samba4.so: version `SAMBA_4.11.6' not
> found (required by /usr/lib64/samba/ldb/simple_ldap_map.so)
>
> Can someone help me ?
>
>
>
> *David Coelho dos Santos*

At a guess, it looks like your $PATH is wrong.

You don't specify how you compiled Samba, but if you just ran 
'./configure && make && sudo make install', Samba would all be installed 
in /usr/local/samba. /usr/lib64/samba is usually where the red-hat 
distros put some of the Samba files.

So, more info required ;-)

Rowland





More information about the samba mailing list