Using system libtdb in Samba4

Stefan (metze) Metzmacher metze at
Fri Jun 27 12:41:56 GMT 2008

simo schrieb:
> On Fri, 2008-06-27 at 13:45 +0200, Stefan (metze) Metzmacher wrote:
>> Andrew Bartlett schrieb:
>>> On Wed, 2008-06-25 at 14:14 +1000, Andrew Bartlett wrote:
>>>> I'm having trouble with Samba4, now that I have it linking against the
>>>> system libtdb.
>>>> I wonder is using the system libtdb is incompatible with the way
>>>> smbscript is built?
>>> It seems that ejs just shows up one aspect of this problem.  We also
>>> have this problem in, where it tries to open templates.ldb
>>> Perhaps being in a shared lib messes with the duplicate open detection?
>> It seems I have the same problem on ubuntu hardy...
>> But I'm not sure it's the system libtdb, because the duplicate check is
>> done outside of libtdb in lib/tdb_wrap.c, but it's likely that it's
>> loaded multiple times
> If symbols are resolved libraries are not loaded more then once.
> On the contrary static linking may end up (and it did) with multiple
> copies of the same library and globals that are not anymore shared by
> all parts of the software.

we do link everything into the shared modules and load them all...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url :

More information about the samba-technical mailing list