By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,559 Members | 1,521 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,559 IT Pros & Developers. It's quick & easy.

need ldap windows binary and/or installation help

P: n/a
I'm running python 2.5 (or 2.4) in an XP environment.

I downloaded and installed the .dll's from and copied the .dll's in c:/windows/system32 as instructed

now I get this error. Is there anyway to avoid building the python_ldap binaries? Apart from being lazy, I've got a secure system policy issue if I start compiling apps. I could give up and just start running in linux, but myxp environment is much friendlier to develop in. I've googled a lot, but all the links I've found talk to Unix or to compiling from source.

Even if I build from source, will the mingw compiler mentioned in most postsproduce something that is compatible with "Python was built with Visual Studio 2003".

c:\all>easy_install python_ldap
Searching for python-ldap
Best match: python-ldap 2.3.5
Processing python-ldap-2.3.5.tar.gz
Running python-ldap-2.3.5\ -q bdist_egg --dist-dir c:\documents and settings\frsells\local settings\temp\easy_install-uczq5i\python-ld
include_dirs: /usr/local/openldap-2.3/include /usr/include/sasl
library_dirs: /usr/local/openldap-2.3/lib
libs: ldap_r lber sasl2 ssl crypto
file Lib\ (for module ldap) not found
file Lib\ldap\ (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules\LICENSE'
file Lib\ (for module ldap) not found
file Lib\ldap\ (for module ldap.schema) not found
file Lib\ (for module ldap) not found
file Lib\ldap\ (for module ldap.schema) not found
error: Setup script exited with error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to

The information contained in this message may be privileged and / or
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying to this message and deleting the material from any
Jul 15 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.