ldb linking issue, waf related?

Andrew Bartlett abartlet at samba.org
Fri Sep 14 05:13:48 UTC 2018

On Fri, 2018-09-14 at 09:40 +0530, Isaac Boukris via samba-technical
> Hi,
> After updating master branch, I get this error in log.samba (no
> actual
> impact i can tell of):
> /usr/local/samba/sbin/samba_kcc: ldb: unable to dlopen
> /usr/local/samba/lib/ldb/ldb.so : libldb_module_tdb.so: cannot open
> shared object file: No such file or directory
> And ldd shows:
> $ ldd /usr/local/samba/lib/ldb/ldb.so |grep tdb.so
>         libldb_module_tdb.so => not found
>         libtdb.so.1 => /usr/local/samba/lib/private/libtdb.so.1
> (0x00007faf850e6000)
> I tried to look into it, but I really don't understand waf.

waf doesn't delete tdb.so (found in Samba 4.8) and then you build Samba
4.9 or later.  

While typically we only create new shared libraries and modules,
sometimes we rename or remove them, and installing over the top then
creates a mix, which is what has happened here.

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list