I always download and compile OpenLDAP from source, and install it in /usr/local/openldap. Then I use "--with-ldap=/usr/local/openldap" when I compile PHP. Works fine for me every time.
On Thu, Jan 29, 2015 at 1:27 PM, Jorge F. Hernandez <jfha73@xxxxxxxxx> wrote:
The LDAP library is at /usr/lib, and files /usr/lib/libldap.so and /usr/lib/libldap_r.so exist, also, my --prefix=/usr and my --with-libdir=lib, therefore libdir is /usr/lib, my thing is these lines:On 1/29/2015 12:39 PM, Christoph Becker wrote:
Jorge Hernandez wrote:
I'm trying to build PHP from source, but when I run ./configure withHave you tried `./configure --with-ldap[=DIR]`? Also see the respective
all the extensions I want to build, I get this:
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.
I installed LDAP 2.4.40 and 2-devel to my Ubuntu 14.04 for this, but
it keeps saying that.
Any ideas how I can fix that?
manual page: <http://php.net/manual/en/ldap.installation.php>.
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
Any other ideas?
Thanks.
Dave Parker
Systems AdministratorUtica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177
- Follow-Ups:
- Re: Re: How to compile LDAP Extension for PHP
- From: Jorge F. Hernandez
- Re: Re: How to compile LDAP Extension for PHP
- References:
- How to compile LDAP Extension for PHP
- From: Jorge Hernandez
- Re: How to compile LDAP Extension for PHP
- From: Christoph Becker
- Re: How to compile LDAP Extension for PHP
- From: Jorge F. Hernandez
- How to compile LDAP Extension for PHP
- Prev by Date: Re: How to compile LDAP Extension for PHP
- Next by Date: Re: Re: How to compile LDAP Extension for PHP
- Previous by thread: Re: How to compile LDAP Extension for PHP
- Next by thread: Re: Re: How to compile LDAP Extension for PHP
- Index(es):