PHP 4.3 and Mac OS X
Subject:   Having problems with LDAP
Date:   2003-02-24 14:58:35
From:   qperkins
Response to: Having problems with LDAP

In case someone else has this problem, this solution is to replace all references to with libldap.dylib in the config script.

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

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • 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
    "" to "libldap.$SHLIB_SUFFIX_NAME.3"

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

    I posted the patch at
    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
    ./configure --with-ldap=/usr


    Take care,

    terry chay
    tychay at php dot net