Configuring PHP 5.25 with ./configure --with-mysql=/opt --without-sqlite --with-_lib=lib64 --libdir=/usr/lib64 --with-apxs2=/usr/sbin/apxs --with-zlib --with-ldap=/usr --with-gd --with-jpeg-dir=../jpeg-6b --with-png-dir=/opt --with-iconv-dir --enable-mbstring is chugs away until...

checking for ANSI C header files... (cached) yes
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... no
configure: error: Cannot find ldap libraries in /usr/lib.

I have made a symbolic link in /usr/lib - libldap.a -> /usr/lib64/libldap.a
but this does not help.

Any assistance cheerfully received.
__________________________

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

64-bit

On March 1st, 2008 paul.bohme says:

Judging by the /usr/lib64, am going to guess you're running a 64-bit distro. Chances are good that symlinking a 32-bit library into the 64-bit path will do more harm than good. I'd start by looking for a proper 64-bit build of LDAP.

Featured Video

Linux Journal's own Shawn Powers tells the story of Ubuntu and his family of distributions as they search for their identities.