> I'll try now to dig into the configure
> scripts of Cyrus-SASL to get rid of most of the dependencies (as the
> Mozilla guys did with the NTMakefile). Then it should be possible to
> do a "real" static build of library and plugins using MinGW.

I think, I'm almost there. I have a static libsasl and several static
plugin libs, but when I try to link one of the plugins with
_ldap.pyd, I get:

e:\projects\prereq\built\cyrus-sasl\lib\sasl2\libcrammd5.a(plugin_common.o):
        In function `plug_ipfromstring':
        e:/projects/prereq/src/cyrus-sasl-2.1.23/plugins/plugin_common.c:150:
                undefined reference to `sasl_getaddrinfo'
        e:/projects/prereq/src/cyrus-sasl-2.1.23/plugins/plugin_common.c:157:
                undefined reference to `sasl_freeaddrinfo'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Should be a matter of proper includes. I'll track that down tomorrow...

Regards,
Torsten
-- 
  It's more than magnificent-it's mediocre. -Samuel Goldwyn

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to