cygwin and python-ldap
Tony Goodwin
danielgoodwin at yahoo.com
Mon Feb 11 14:51:08 CET 2002
Trying to build pre04 on cygwin using openldap 2.0.21, python 2.2
First problem was not finding lib resolv, though removing it from setup.cfg
doesn't seem to affect anything
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
Tony
<snip>
gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.3.9-i686-2.2/LDAPOb
ject.o build/temp.cygwin-1.3.9-i686-2.2/common.o
build/temp.cygwin-1.3.9-i686-2.
2/constants.o build/temp.cygwin-1.3.9-i686-2.2/errors.o
build/temp.cygwin-1.3.9-
i686-2.2/functions.o build/temp.cygwin-1.3.9-i686-2.2/ldapmodule.o
build/temp.cy
gwin-1.3.9-i686-2.2/linkedlist.o build/temp.cygwin-1.3.9-i686-2.2/message.o
buil
d/temp.cygwin-1.3.9-i686-2.2/template.o
build/temp.cygwin-1.3.9-i686-2.2/version
.o
build/temp.cygwin-1.3.9-i686-2.2/options.o -L/usr/local/src/openldap-2.0.21/
l
ibraries -L/usr/local/lib/python2.2/config -llber -lldap -lpython2.2 -o
build/li
b.cygwin-1.3.9-i686-2.2/_ldap.dll
/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
referen
ce to `ber_printf'
/usr/local/src/openldap-2.0.21/libraries/libldap/search.c:326: undefined
referen
<etc ...>
</snip>
More information about the python-ldap
mailing list