Samuel Thibault, le Mon 12 Mar 2007 14:51:57 +0100, a écrit :
> When using ac_python_devel.m4, the PYTHON_LDFLAGS variable is set to
> -L/usr/lib/python2.4 -lpython2.4, but libpython2.4.so and libpython2.4.a
> are provided in /usr/lib/python2.4/config/, not /usr/lib/python2.4/
> 
> Maybe config/ should just be appended to what get_python_lib(0,1)
> returns?

And a compilation log of python-ldap on windows confirms this:

gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.5.12-i686-2.4/Modules/LDAPObject.o
...
-L/usr/local/openldap-OPENLDAP_REL_ENG_2_2/lib -L/usr/local/sasl/lib
-L/usr/lib/python2.4/config
-Wl,-R/usr/local/openldap-OPENLDAP_REL_ENG_2_2/lib
-Wl,-R/usr/local/sasl/lib -lldap_r -llber -lssl -lcrypto -lsasl2
-lpython2.4 -o build/lib.cygwin-1.5.12-i686-2.4/_ldap.dll

Samuel

Reply via email to