|
From: Matthew S. <mp...@ut...> - 2005-10-25 05:13:28
|
Hello! I am trying to get python-ldap 2.0.10 to work with Mac OS X 10.4 (tiger) Server. I am getting the error posted below, and after poking about on the list archives for a time, I saw a post with a similar problem (http://sourceforge.net/mailarchive/message.php?msg_id=12199305). The solution suggested was to recompile openldap, as the Apple supplied one is limited. This worked for me, and now python ldap is working fine (after a few quick changes to the setup.cfg), though I'd prefer to use Apple's ldap implementation if I could. Has anyone got python-ldap to work with 10.4 server using only Apple's openldap and python? Thanks for any help. Cheers, Matthew Smith Python 2.4.2 (#1, Oct 24 2005, 17:07:11) [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 ? File "/usr/share/python/lib/python2.4/site-packages/ldap/__init__.py", line 21, in ? from _ldap import * ImportError: Failure linking new module: /usr/share/python/lib/python2.4/site-packages/_ldap.so: Symbol not found: _ldap_str2attributetype Referenced from: /usr/share/python/lib/python2.4/site-packages/_ldap.so Expected in: dynamic lookup |