https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #9 from Hans Leidekker hans@meelstraat.net --- (In reply to m0rvj from comment #8)
I've tried to do a bisect but I'm stuck with the attached compile error. I'm guessing it might be library version incompatibility but its a little beyond my understanding.
If someone can help me with how to get wine to compile, I'm happy to do the bisect. N.b. I've no problems compiling wine 6.19-21 or master. I've just done a bisect there for another bug and found the problem commit without any difficulty.
You can work around the error by passing --without-ldap to configure, assuming the app doesn't need LDAP support to reach the bug.