tdb and ldb

Rusty Russell rusty at rustcorp.com.au
Mon Jan 30 17:07:03 MST 2012


On Mon, 30 Jan 2012 18:39:13 +0100, Andreas Schneider <asn at samba.org> wrote:
> Hi Rusty,
> 
> today I've tried to package the latest master tree and it didn't work. I've 
> built it so that Samba4 is using the system libraries of talloc, tevent, tdb 
> and ldb. This fails cause the ldb configure check doesn't find tdb.

Yes, you need to --enable-tdb2=false if you want to use the system tdb.

> a) Take a look at lib/ldb/wscript, line 31 ff. you find the configure checks 
> for ldb. I can see tdb_compat twice.
> 
> b) conf.CHECK_BUNDLED_SYSTEM_PKG() for ldb is looking for tdb but it doesn't 
> find it.

Because it's looking for tdb2 now.  Perhaps it's time to export tdb2 as
a shared library as well?

Cheers,
Rusty.


More information about the samba-technical mailing list