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.
https://bugs.winehq.org/show_bug.cgi?id=52140
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Did openldap get rid of libldap_r?
https://bugs.winehq.org/show_bug.cgi?id=52140
--- Comment #2 from Rafał Mużyło galtgendo@o2.pl --- The thing is that that's quite close to the fix.
At 2.5.0 upstream merged libldap_r into libldap. Getting a proper version check might be tricky - I don't know if any new api was added at that point.
https://bugs.winehq.org/show_bug.cgi?id=52140
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- See https://git.openldap.org/openldap/openldap/-/commit/c06ac436e23520bb765ad67b... and https://bugs.openldap.org/show_bug.cgi?id=9235 for details.
https://bugs.winehq.org/show_bug.cgi?id=52140
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- Debian's libldap2-dev:amd64 installs a symlink from libldap.so to libldap_r.so. If that's the case in other major distributions and if that's been done long enough I guess we can just switch the configure check from ldap_r to ldap.
https://bugs.winehq.org/show_bug.cgi?id=52140
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Summary|configure fails to detect |configure fails to detect |libldap |libldap 2.5+ Fixed by SHA1| |11b15054e74e3af62e4e851c272 | |071dfd8c23775 Resolution|--- |FIXED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/11b15054e74e3af62e4e851c272071dfd8c23775, thanks Hans!
https://bugs.winehq.org/show_bug.cgi?id=52140
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc2.