cygwin and python-ldap
jason at tishler.net
Mon Feb 11 15:32:52 CET 2002
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 ...
> /usr/local/src/openldap-2.0.21/libraries/libldap.a(search.o): In function
> /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
Please try the setup.cfg mentioned in:
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.
More information about the python-ldap