|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-08-19 15:40 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Package: Compile Failure
+Package: LDAP related
-Assigned To:
+Assigned To: cmb
[2021-08-19 15:40 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 01:00:01 2025 UTC |
Description: ------------ Hello, I'm trying to build PHP with LDAP as a static library. But the make command always ask for ldap.dylib. I removed LIBS="$LIBS $LDAP_SHARED_LIBADD" in php-sources/ext/ldap/config.m4 (line 195) and it looks to be working. I may have missed something but I didn't find any option to do this correctly. LDAP is the only extension that makes this problem. Test script: --------------- LDAP Building : ./configure --prefix="$DEPS_DIR" --disable-backends --enable-ldap --without-fetch --without-cyrus-sasl --enable-shared=no --enable-static=yes make make install PHP Building : ./configure --prefix="$INSTALL_DIR" --disable-cli --enable-cgi --enable-shared=no --enable-static=yes --with-ldap=$DEPS_DIR" make make install Expected result: ---------------- PHP build correctly Actual result: -------------- make command failed and ask for libldap.dylib and liblber.dylib