python-ldap under OS X 10.4
Jens Vagelpohl
jens at dataflake.org
Tue Jun 28 15:51:03 CEST 2005
Hi guys,
I find myself unable to use python-ldap compiled under OS X 10.4. It
compiles, but loading it leads to unresolved symbols.
Environment:
- OS X 10.4.1
- Python 2.4.1, compiled separately from the system's own python, no
special options
- in setup.cfg, I set "libs = ldap_r lber"
_ldap.so ends up being linked against the following:
_ldap.so:
/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
(compatibility version 1.0.0, current version 2.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.0.0)
When I load it in the interpreter I see this:
Python 2.4.1 (#1, Jun 9 2005, 13:53:37)
[GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import _ldap
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: Failure linking new module: _ldap.so: Symbol not found:
_ldap_matchingrule_free
Referenced from: _ldap.so
Expected in: dynamic lookup
Has anyone found a way around this?
jens
More information about the python-ldap
mailing list