Edit report at https://bugs.php.net/bug.php?id=62003&edit=1
ID: 62003 Updated by: m...@php.net Reported by: aconnor at ait dot ie Summary: LDAP compile failure -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: Ubuntu server 12.04 PHP Version: 5.4.3 Block user comment: N Private report: N New Comment: See bug #61450 -- a fix is in the works. I'm inclined to mark this as duplicate. @aconnor: Were you trying to build ldap and oci8 at the same time, too? Previous Comments: ------------------------------------------------------------------------ [2012-12-05 14:15:39] fernando dot wendt at gmail dot com When compiling PHP 5.4.9, trying to enable both oci8 (instantclient, 11.2) and ldap modules, it points the same issue, and fails. The little bit diff is that once you point --with-ldap, it seems to compile it, but - by a misunderstood behavior, it uses the ldap.h from instantclient sdk file! Of course, make fails. Reading at OTN forum, theres is a thread where some people does not recommend compiling them togheter: the suggest is to compile PHP with ldap, and install oci8 with PECL, after [https://forums.oracle.com/forums/thread.jspa? messageID=10319335]. Works to me: i was needing ldap at first. oci8, will be added after. Best regards ------------------------------------------------------------------------ [2012-06-28 13:41:19] macolinovo at gmail dot com I'm also with same problem ------------------------------------------------------------------------ [2012-05-11 10:42:37] aconnor at ait dot ie Description: ------------ I am trying configure php 5.4.3 from source on a ubuntu 12.04 server build using this switch --with-ldap=/usr i get this error: configure: error: Cannot find ldap libraries in /usr/lib. So i change to --with-ldap=/usr/lib Then i get this error: configure: error: Cannot find ldap.h So i find ldap.h in /usr/include I created a sym link for the /include directory in the /usr/lib directory, so the config might see ldap.h. I have tried ln -s /usr/include/ /usr/lib and ln -s /usr/include/ldap.h /usr/lib/ but i still get the same error. also: Permissions on the directory /usr/lib: drwxr-xr-x 53 root root 4096 May 11 09:06 lib I chmod 777 the ldap.h file. Then ran ln -s /usr/include/ldap.h /usr/lib/ i also tried ln -s /usr/include/ldap.h . Both create the link it appears as : lrwxrwxrwx 1 root root 19 May 11 09:00 ldap.h -> /usr/include/ldap.h But still the same error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62003&edit=1