python-ldap OS X 10.6 and Python 2.6

前端 未结 4 1181
-上瘾入骨i
-上瘾入骨i 2021-01-12 09:19

Trying to install python-ldap for my Django project -- so far tried easy_install, pip, as well as building myself, but still getting the same errors:

dlopen(         


        
4条回答
  •  太阳男子
    2021-01-12 10:01

    The problem and solution are documented here.

    Summary: The 10.7.{0,1} system tools and headers are all from OpenLDAP 2.4.x while the libraries are from OpenLDAP 2.2.0. The solution is to build the OpenLDAP libs to match the system headers and link python-ldap with those.

    All credit goes to Rob McBroom.

提交回复
热议问题