[python-ldap] installing python-ldap on windows 64bit
Neeraj Thakur
neerajthakur11 at gmail.com
Mon Mar 2 07:18:29 CET 2015
I am trying to use the python-ldap
<https://pypi.python.org/pypi/python-ldap> library with Python 2.7.6 (64
bit) on Windows 7 64 bit. My Python 2.7.6 is built with MSVC 2010.
I was able to get python_ldap‑2.4.19‑cp27‑none‑win_amd64.whl
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap>, but the modules
from Mr. Gohlke are built with MSVC 2008.
*experimental*:
If I install the python_ldap‑2.4.19‑cp27‑none‑win_amd64.whl on my Python
2.7
import ldap
fails with
File "c:\Python27_64\lib\site-packages\ldap\__init__.py", line 22, in
<module>
import _ldap
ImportError: DLL load failed: %1 is not a valid Win32 application.
now the question is, I want to build python-ldap
<https://pypi.python.org/pypi/python-ldap> with MSVC 2010, for this I need
1. OpenLDAP 2.4.11+ client libs
2. Cyrus SASL 2.1.x or newer
3. MIT Kerberos or heimdal libs
but none of them have build environment for windows, how can I hack/build
the libs and modules with MSVC 2010?
--
With Regards
Neeraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150302/eaaf8be4/attachment.html>
More information about the python-ldap
mailing list