From:             
Operating system: Ubuntu server 12.04
PHP version:      5.4.3
Package:          Compile Failure
Bug Type:         Bug
Bug description:LDAP compile failure

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 bug report at https://bugs.php.net/bug.php?id=62003&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=62003&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=62003&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=62003&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=62003&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=62003&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=62003&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=62003&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=62003&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=62003&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=62003&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=62003&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=62003&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=62003&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=62003&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=62003&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62003&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=62003&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=62003&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=62003&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=62003&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=62003&r=mysqlcfg

Reply via email to