python-ldap and mac os x tiger, missing symbols

Jens Vagelpohl jens at dataflake.org
Tue May 17 22:22:55 CEST 2005


<putting this back on the list where it belongs>

On May 17, 2005, at 21:58, Bethany Jane Hanson wrote:

> Hi Jens!  I tried building python 2.4.1 and python-ldap 2.0.7 last  
> night.  Both of them built and installed without errors, but when I  
> ran Python and tried to use the ldap module it complained about  
> missing symbols again:
>
> ila:/tmp/python-ldap-2.0.7 root# /usr/local/bin/python
> Python 2.4.1 (#1, May 17 2005, 11:58:55)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ldap
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/local/lib/python2.4/site-packages/ldap/__init__.py",  
> line 21, in ?
>     from _ldap import *
> ImportError: Failure linking new module: /usr/local/lib/python2.4/ 
> site-packages/_ldap.so: Symbol not found: _ldap_matchingrule_free
>   Referenced from: /usr/local/lib/python2.4/site-packages/_ldap.so
>   Expected in: dynamic lookup

I did not see these problems after compiling Python 2.4.1 and python- 
ldap HEAD from CVS anymore, there's not much I can say - it worked  
for me.

jens






More information about the python-ldap mailing list