[PATCH] Fix the samba3 dependency hell
asn at samba.org
Tue Nov 22 16:36:37 UTC 2016
On Tuesday, 22 November 2016 14:20:00 CET Andreas Schneider wrote:
> last week I sent a patch to fix an issue with newer versions of the gold
> linker complaining about our circular dependencies.
> This patch did not work on Ubuntu. It looks like I produces an issue with
> the Kerberos library. On Ubuntu 14.04 we link against openldap2 libaries
> which link against Kerberos libraries. So when we link smbd we link against
> two Kerberos libaries, yay!
> However I needed a different approach to fix the circular dependencies. Yes,
> we have two of them:
> param => smbconf
> smbconf => param
> smbconf => smbregistry
> smbregistry => smbconf
> I've tried to change smbconf first to only consume samba-hostconfig, but
> this didn't work. Decoupling param from smbconf is also not possible. So
> thinking about this mess there was only one solution.
> As smbconf is a public library, param a subsystem and smbregistry a library
> the correct thing to do is to push everything in smbconf library.
> That's what I did. So everything links against smbconf now.
> Please review the attached patchset and push if you're ok.
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 115379 bytes
Desc: not available
More information about the samba-technical