Women in Technology

Hear us Roar



Article:
  PHP 4.3 and Mac OS X
Subject:   Having problems with LDAP
Date:   2003-02-28 20:37:42
From:   tychay
Response to: Having problems with LDAP

Nice catch!


The problem is not with the main of php but with ext/ldap/config.m4. The line should be changed from
"libldap.so.3" to "libldap.$SHLIB_SUFFIX_NAME.3"


Also, I'll do you one better. ;-) You probably want to change
liblber.so to liblber.$SHLIB_SUFFIX_NAME since the test you pointed to occurs if it can't find the former.


I posted the patch at
http://bugs.php.net/bug.php?id=22485
Please vote for it :-)


BTW, Mac OS X Jaguar has a version of LDAP (used to replace the old NetInfo manager). So you don't really need fink for this...
if you apply the patch above, you can then do
./buildconf
./configure --with-ldap=/usr


:-)


Take care,


terry chay
tychay at php dot net