[python-ldap] Macintosh Installation

Rob McBroom mailinglist0 at skurfer.com
Sat Oct 29 12:03:10 CEST 2011


On Oct 28, 2011, at 5:11 PM, MURL DONLEY wrote:

> I want to install python-ldap-2.4.4
> I do not see the relevant info to modify setup.cfg in the expanded tarball.
> I have looked at the samples in the Build folder, but am not satisfied that
> I know enough to proceed with:
> 
> python setup.py build
> python setup.py install

One problem you’re sure to run into is that /usr/lib/libldap_r.dylib is very old. Too old for python-ldap-2.4.4.

I figured out how to do this in 10.7 and I’ve heard from others that it works for 10.6 as well.

http://projects.skurfer.com/posts/2011/python_ldap_lion/

I’m not sure about 10.5, but maybe it’s close enough. For instance, the `-arch x86_64` might not be necessary. You can run `file /usr/local/lib/libldap.dylib` after building OpenLDAP to see if it’s 32 or 64 bit.

-- 
Rob McBroom
<http://www.skurfer.com/>



More information about the python-ldap mailing list