Bug #76433 [NEW]: Build failure with macOS libldap.dylib
| From: | kevin dot abel dot 0 at gmail dot com | Date: | Fri, 08 Jun 2018 22:50:34 +0000 |
| Subject: | Bug #76433 [NEW]: Build failure with macOS libldap.dylib | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-215550@lists.php.net to get a copy of this message | ||
From: kevin dot abel dot 0 at gmail dot com
Operating system: macOS
PHP version: 7.3.0alpha1
Package: LDAP related
Bug Type: Bug
Bug description:Build failure with macOS libldap.dylib
Description:
------------
Trying to build PHP 7.3.0alpha1 on macOS 10.13 with the ldap extension
results in failure during linking. The macOS library for ldap
(/usr/lib/libldap.dylib) does not contain some of the new symbols used
in the 7.3 ldap changes.
Test script:
---------------
Output from configure script run is available at
https://gist.github.com/kabel/28ffd286da24d39ad7a6062d7cf27564#file-01-configure
Output from the make process is available at
https://gist.github.com/kabel/28ffd286da24d39ad7a6062d7cf27564#file-02-make
Expected result:
----------------
Build success or configure failure
Actual result:
--------------
Configure success, build failure at link.
make: *** [sapi/cli/php] Error 1
Undefined symbols for architecture x86_64:
"_ldap_create_passwordpolicy_control", referenced from:
_zif_ldap_exop_passwd in ldap.o
"_ldap_create_sort_control_value", referenced from:
__php_ldap_controls_from_array in ldap.o
"_ldap_create_vlv_control_value", referenced from:
__php_ldap_controls_from_array in ldap.o
"_ldap_parse_passwordpolicy_control", referenced from:
__php_ldap_controls_to_array in ldap.o
ld: symbol(s) not found for architecture x86_64
--
Edit bug report at https://bugs.php.net/bug.php?id=76433&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76433&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76433&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76433&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76433&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76433&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76433&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76433&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76433&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76433&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76433&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76433&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76433&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76433&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76433&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76433&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76433&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76433&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76433&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76433&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76433&r=mysqlcfg