cygwin and python-ldap

Jason Tishler jason at tishler.net
Mon Feb 11 15:32:52 CET 2002


Tony,

On Mon, Feb 11, 2002 at 01:51:08PM +0000, Tony Goodwin wrote:
> Next problem is that I get a lot of ber_printf (and ber_scanf ..) symbols
> not found from openldap origins
> I ain't no expert, but it seems to be building a shared library, and
> complaining about symbols not found in
> openldap (which has built OK .. though untested yet)
> 
> Any help appreciated
> 
> gcc -shared -Wl,--enable-auto-image-base ...
> [snip]
> /usr/local/src/openldap-2.0.21/libraries/libldap.a(search.o): In function
> `ldap_build_search_req':
> /usr/local/src/openldap-2.0.21/libraries/libldap/search.c:300: undefined
> reference to `ber_printf'
> /usr/local/src/openldap-2.0.21/libraries/libldap/search.c:326: undefined
> referen

Please try the setup.cfg mentioned in:

    http://www.geocrawler.com/archives/3/1568/2002/1/0/7452037/

and report back as to whether or not this solves your problem.  I think
you are having a library ordering problem.  I certainly did when I used
the order of the (commented out) libraries in the default setup.cfg.

Thanks,
Jason




More information about the python-ldap mailing list