Bug #68985 [Fbk->NoF]: Cannot compile on Ubuntu because OpenLDAP 2.4.x is not yet supported
| From: | php-bugs at lists dot php dot net | Date: | Sun, 01 Mar 2020 04:22:05 +0000 |
| Subject: | Bug #68985 [Fbk->NoF]: 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-225813@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: php-bugs@lists.php.net
Reported by: jfha73 at gmail dot com
Summary: Cannot compile on Ubuntu because OpenLDAP 2.4.x is not
yet supported
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: Ubuntu 14.04
PHP Version: master-Git-2015-02-04 (Git)
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2020-02-18 08:51:59] cmb@php.net
> [â¦] 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>
------------------------------------------------------------------------
[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