Bug #68985 [Opn->Fbk]: Cannot compile on Ubuntu because OpenLDAP 2.4.x is not yet supported

From: Date: Tue, 18 Feb 2020 08:51:59 +0000
Subject: Bug #68985 [Opn->Fbk]: Cannot compile on Ubuntu because OpenLDAP 2.4.x is not yet supported
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225609@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68985&edit=1 ID: 68985 Updated by: cmb@php.net Reported by: jfha73 at gmail dot com Summary: Cannot compile on Ubuntu because OpenLDAP 2.4.x is not yet supported -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: Ubuntu 14.04 PHP Version: master-Git-2015-02-04 (Git) -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: > […] because it's not yet supported by PHP, as per this line from > your wiki: Well, that's from an mostly unmaintained page for Windows[1], and the good news is, that OpenLDAP 2.4 is actually used for our Windows builds for many years now. > LDAP build check failed. Please check config.log for more > information. Well, is there more information in config.log? [1] <https://wiki.php.net/internals/windows/libs> Previous Comments: ------------------------------------------------------------------------ [2015-06-17 14:28:55] mcmic@php.net On Debian Wheezy I only have /usr/lib/libldap_r-2.4.so.2 and /usr/lib/libldap.so and it works fine: checking for LDAP support... yes checking for LDAP Cyrus SASL support... no checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_result... yes checking for ldap_parse_reference... yes checking for ldap_start_tls_s... yes checking for ldap_bind_s... yes ------------------------------------------------------------------------ [2015-02-05 00:20:44] jfha73 at gmail dot com This is what I get on Ubuntu 14.04. checking for LDAP support... yes, shared checking for LDAP Cyrus SASL support... no checking size of long int... 8 checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_result... no checking for ldap_parse_reference... no checking for ldap_start_tls_s... no checking for ldap_bind_s... no configure: error: LDAP build check failed. Please check config.log for more information. and these are the library files: >ls /usr/lib/libldap* /usr/lib/libldap-2.4.so.2 /usr/lib/libldap_r-2.4.so.2.10.3 /usr/lib/libldap-2.4.so.2.10.3 /usr/lib/libldap_r.a /usr/lib/libldap.a /usr/lib/libldap_r.la /usr/lib/libldap.la /usr/lib/libldap_r.so /usr/lib/libldap_r-2.4.so.2 /usr/lib/libldap.so ------------------------------------------------------------------------ [2015-02-04 19:31:37] jfha73 at gmail dot com Description: ------------ Hey guys, I have not been able to compile master on Ubuntu 14.04 because it's not yet supported by PHP, as per this line from your wiki: ldap http://openldap.org No 2004 2.3.42 2.3.42 2.3.42 Yes Yes And OpenLDAP doesn't support 2.3.x anymore because is too old, so let me ask you if you please make php_ldap compatible with OpenLDAP 2.4.x Thanks. Test script: --------------- ./configure --disable-all --enable-cli --with-ldap=shared Expected result: ---------------- Run ./configure so make can be done. Actual result: -------------- Errors when checking for LDAP Libraries even when they are there. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68985&edit=1

« previous php.bugs (#225609) next »