Bug #68985 [Opn]: Cannot compile on Ubuntu because OpenLDAP 2.4.x is not yet supported
Edit report at https://bugs.php.net/bug.php?id=68985&edit=1
ID: 68985
Updated by: mcmic@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
Type: Bug
Package: Compile Failure
Operating System: Ubuntu 14.04
PHP Version: master-Git-2015-02-04 (Git)
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (5 messages)