Bug #62003 [Com]: LDAP compile failure
| From: | macolinovo at gmail dot com | Date: | Thu, 28 Jun 2012 13:41:20 +0000 |
| Subject: | Bug #62003 [Com]: LDAP compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171600@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62003&edit=1
ID: 62003
Comment by: macolinovo at gmail dot com
Reported by: aconnor at ait dot ie
Summary: LDAP compile failure
Status: Open
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:
I'm also with same problem
Previous Comments:
------------------------------------------------------------------------
[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