LDAP build broken
| From: | Stanislav Malyshev | Date: | Sun, 05 Jul 2015 09:18:06 +0000 |
| Subject: | LDAP build broken | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-87025@lists.php.net to get a copy of this message | ||
Hi!
I've been rebuilding my checkout of master and I've discovered LDAP
build is broken:
Undefined symbols for architecture x86_64:
"_ldap_control_find", referenced from:
_zif_ldap_control_paged_result_response in ldap.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Looks like it comes from commit 4f7808ec50b279e1088cd01dbd502498617f2aca
which replaced ldap_find_control with ldap_control_find, however my LDAP
library on Mac OS X 10.9 has _ldap_find_control but not
_ldap_control_find. configure worked fine however - so we need to either
add check in configure of ifdefs.
Thanks,
--
Stas Malyshev
smalyshev@gmail.com