https://bugs.winehq.org/show_bug.cgi?id=52140
Bug ID: 52140 Summary: configure fails to detect libldap Product: Wine Version: 6.22 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ArchLinux
I'm running ArchLinux and have made sure the packages are installed:
$ yay -Q | grep ldap lib32-libldap 2.6.0-1 libldap 2.6.0-2
The PKGBUILD for the wine packages for ArchLinux contain this 'fix' for this problem:
# Fix openldap 2.5+ detection sed 's/-lldap_r/-lldap/' -i $pkgname/configure
I can confirm that using that command to change my local configure works.