is external talloc and external tdb a requirement for building samba with ctdb
Andrew Bartlett
abartlet at samba.org
Sun Sep 16 10:44:35 MDT 2012
On Sun, 2012-09-16 at 08:57 +0200, Michael Adam wrote:
> On 2012-09-15 at 23:20 -0700, Matthieu Patou wrote:
> > Hello,
> >
> > I was trying to build samba with the ctdb support from the top waf build
> > and it fails to detect my ctdb because the include for <tdb.h> and
> > <talloc.h> failed.
> > In theory if I'm building them internally the internal path should be
> > added during the test for detection of ctdb no ?
>
> I guess so.
>
> In the autobuild "samba-ctdb" target, I in fact compile, and
> install tdb first (system talloc not being required by ctdb
> master, apparently) and run samba configure with
> "--bundled-libraries=!tdb".
>
> But we should find a way to fix that to work against built-in
> paths.
To avoid duplicate symbols, you would need to have both built against a
'system' talloc/tdb. Indeed, given how it will be used, ctdb should be
the one insisting on this.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list