| Article: |
PHP 4.3 and Mac OS X | |
| Subject: | Having problems with LDAP | |
| Date: | 2003-02-04 08:22:35 | |
| From: | qperkins | |
|
Since 10.2 was released, I have been able to use the built-in OpenLDAP libraries when I have built PHP 4.2x with just a --with-ldap flag.
|
||
Showing messages 1 through 2 of 2.
-
Having problems with LDAP
2003-02-24 14:58:35 qperkins [View]
-
Having problems with LDAP
2003-02-28 20:37:42 tychay [View]
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



And I thought 4.3 was supposed to be ready for OS X...