The lastest tdb release uses _PUBLIC_ in its main header file so one cannot compile with unless _PUBLIC_ gets defined elsewhere.
See https://bugzilla.redhat.com/show_bug.cgi?id=1983011 for further details.
This bug was referenced in samba master:
Created attachment 16838 [details]
patch from master for v4-15
Thanks. Assigning to Jule for 4.15.next.
Why do we need this in 4.15?
(In reply to Stefan Metzmacher from comment #4)
The problem is fixed in tdb-1.4.5...
I am also hitting this. We're trying to build sssd against 4.15.x.
I am hoping to install TDB from a git checkout of 4.15.x and have sssd link against it. That might not be the most clearly supported way of doing it, but it sure is convenient. Otherwise I need to figure out which version of TDB is required by 4.15.x, check that out, build, install, ... If 4.15.x is consistent and has an externally consumable version of tdb.h then life is much easier.
I would like to see this fix in 4.15... please? :-)
Metze, there you have an explanation :-)
(In reply to Guenther Deschner from comment #7)
I don't agree, but if we backport we need to backport everything,
also the version bump to tdb-1.4.5.