note 80410 deleted from ref.ldap by cmb
| From: | cmb@php.net | Date: | Sun, 17 Nov 2019 08:34:41 +0000 |
| Subject: | note 80410 deleted from ref.ldap by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213073@lists.php.net to get a copy of this message | ||
Note Submitter: tuliogs at pgt dot mpt dot gov dot br
----
This may be related to bug #28150, but as it´s marked "Won´t fix", I thought it´d
be good to post this here, ´cause it´s a real bugger. :)
When compiling on AMD64 RedHat (and so possibly on CentOS), the configure script fails to find LDAP
libraries under /usr/lib64, because it only searches under /usr/lib.
It´s hardcoded, so LDFLAGS, CPPFLAGS and --libdir are of no use, and neither is editing
ext/ldap/config.m4 and running buildconf; you´ll need to manually edit configure and alter all
occurrences of LDAP_LIBDIR to "lib64". Else, you´ll get a "cannot find ldap libs
under /usr/lib" or "cannot find ldap.h" error upon configure.