It took me quite a lot of time to get python ldap to compile on osx (to use it for testing Plone's LDAPUserFolder). I needed to compile it from source as I'm using a local build of python instead of the standard fink or osx python. In the end it turned out to be not too difficult, if you know the magic incantations.
In fink, install the following:
Then download python ldap and edit its setup.cfg
file's library_dirs and include_dirs lines:
library_dirs = /sw/lib /sw/lib/sasl2 include_dirs = /sw/include /sw/include/sasl
Then you should be able to run sudo python setup.py install
just fine.
My name is Reinout van Rees and I program in Python, I live in the Netherlands, I cycle recumbent bikes and I have a model railway.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):
<pre>sudo ln -s libdb-4.4.dylib libdb-4.3.dylib</pre>