Re: svn commit: r1920664 - /apr/apr-util/branches/1.7.x/CMakeLists.txt
"Graham Leggett via dev" <[email protected]> Wed, 18 Sep 2024 10:03:29 +0100
| Newsgroups | gmane.comp.apache.apr.devel |
|---|---|
| Message-ID | <[email protected]> |
On 15 Sep 2024, at 18:57, Ivan Zhakov <[email protected]> wrote: > I would be happy to enable LDAP by default, but it doesn't work right now so I think it's better to disable it until it is fixed. I tried to fix it, but without success. I configured GitHub Actions job with LDAP enabled: > https://github.com/apache/apr-util/actions/runs/10871254641/job/30164847244 > > Do you have any ideas how to fix it? Looking quickly, this symbol is in ldap//apr_ldap.c, which is missing from the cmake build: testldap.c.obj : error LNK2019: unresolved external symbol __imp_apr_ldap_search referenced in function test_ldap_bind_cb This symbol is part of the Microsoft LDAP API, is cmake binding to the correct LDAP library on Windows? testldap.c.obj : error LNK2019: unresolved external symbol __imp_ldap_unbind_s referenced in function test_legacy_ldap_connection https://learn.microsoft.com/en-us/windows/win32/api/winldap/nf-winldap-ldap_bind_s Regards, Graham --