tdb and ldb
sgallagh at redhat.com
Tue Jan 31 05:36:00 MST 2012
On Tue, 2012-01-31 at 09:54 +0100, Andreas Schneider wrote:
> On Tuesday 31 January 2012 10:37:03 you wrote:
> > 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.
> The error message is:
> ERROR: Use of system library ldb depends on missing system library talloc tdb
> It says tdb and not tdb2, I think this confuses 99% of the people ... ;)
> > > 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?
> Yes, or document that if you use system ldb you need to disable tdb2.
Please let me know if you start building tdb2 as a shared library (and
PLEASE do a tarball release). I'll rebuild libtdb and libldb upstream in
Fedora to start carrying this. Should make it easier to build samba4
there as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the samba-technical