[Samba] ldb: unable to dlopen

Micha Ballmann ballmann at uni-landau.de
Thu May 28 08:59:50 UTC 2020


Hi,

it's me again. im trying to answer myself. I just delete the "lib" 
directory in /usr/local/samba. After i in-place upgrade again the lib 
folder was also copied and the error is gone.

Is this a valid proceed to fix?

BR

Micha

Am 28.05.2020 um 10:27 schrieb Micha Ballmann via samba:
> Hi,
>
> i upgraded my domain controller (dc1 and dc2, Ubuntu 18.04, compiled 
> version of samba). It was a in-place upgrade from samba 4.11.7 to 4.12.3
>
> Now I get the following error:
>
> # samba-tool drs showrepl
>
> ldb: unable to dlopen /usr/local/samba/lib/ldb/local_password.so : 
> /usr/local/samba/lib/private/libsamdb-common-samba4.so: version 
> `SAMBA_4.11.7' not found (required by 
> /usr/local/samba/lib/ldb/local_password.so)
> ldb: unable to dlopen /usr/local/samba/lib/ldb/simple_dn.so : 
> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version 
> `SAMBA_4.11.7' not found (required by 
> /usr/local/samba/lib/ldb/simple_dn.so)
> ldb: unable to dlopen /usr/local/samba/lib/ldb/simple_ldap_map.so : 
> /usr/local/samba/lib/private/libldbsamba-samba4.so: version 
> `SAMBA_4.11.7' not found (required by 
> /usr/local/samba/lib/ldb/simple_ldap_map.so)
>
> ...
>
> But replication output shows fine.
>
> How can i fix this?
>
> BR
>
> Micha
>



More information about the samba mailing list