https://bugs.winehq.org/show_bug.cgi?id=51129
Bug ID: 51129 Summary: Function name conflict (ldap_connect) with OpenLDAP 2.5 Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wldap32 Assignee: wine-bugs@winehq.org Reporter: sergio.durigan@canonical.com Distribution: ---
Hello,
Wine installs the "/usr/include/wine/wine/windows/winldap.h" file, which exports the ldap_connect function:
ULONG CDECL ldap_connect(LDAP*,struct l_timeval*);
With the recent OpenLDAP 2.5 release, we now have an "ldap_connection" function being exported by it as well (with a different prototype):
https://git.openldap.org/openldap/openldap/-/blame/OPENLDAP_REL_ENG_2_5_4/in...
This will need to be fixed in order to prevent linking problems with OpenLDAP.