title: Compile php with ldap
body: <p>I'm on Linux Mint - i can't compile php with LDAP support</p>
  
  <p>Configure says :</p>
  
  <pre><code>checking for LDAP Cyrus SASL support... yes
  configure: error: Cannot find ldap libraries in /usr/lib.
  </code></pre>
  
  <p>But every -dev libs seems to be installed :</p>
  
  <pre><code> dpkg -l *ldap* | grep ii
  ii  ldap-utils                                    2.4.28-1.1ubuntu4.1                        OpenLDAP utilities
  ii  ldaptor-utils                                 0.0.43+debian1-6ubuntu1                    command-line LDAP utilities
  ii  libaprutil1-ldap                              1.3.12+dfsg-3                              Apache Portable Runtime Utility Library - LDAP Driver
  ii  libkldap4                                     4:4.8.5-0ubuntu0.1                         library for accessing LDAP
  ii  libldap-2.4-2                                 2.4.28-1.1ubuntu4.1                        OpenLDAP libraries
  ii  libldap2-dev                                  2.4.28-1.1ubuntu4.1                        OpenLDAP development libraries
  ii  libnet-ldap-perl                              1:0.4300-2ubuntu1                          client interface to LDAP servers
  ii  libsasl2-modules-ldap                         2.1.25.dfsg1-3ubuntu0.1                    Cyrus SASL - pluggable authentication modules (LDAP)
  ii  php5-ldap                                     5.3.10-1ubuntu3.4                          LDAP module for php5
  ii  python-ldaptor                                0.0.43+debian1-6ubuntu1                    pure-Python library for LDAP operations
  </code></pre>
  
  <p>This is not the first time it breaks, each time with some new strange location for the libs or some new special packages, or whatever... Has any of you found out for this time ? This is php 5.4.7.</p>
  
  <p>Thanks,</p>