# Ruby-ldap install problems

**URL:** <https://www.ruby-forum.com/t/ruby-ldap-install-problems/91593>\
**Category:** Rails\
**Created:** [December 1, 2005, 6:26pm UTC](https://www.ruby-forum.com/t/ruby-ldap-install-problems/91593 "2005-12-01T18:26:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@shaun](https://www.ruby-forum.com/u/shaun)\
**Post date:** [December 1, 2005, 6:26pm UTC](https://www.ruby-forum.com/t/ruby-ldap-install-problems/91593/1 "2005-12-01T18:26:09Z")

</div>

I’m trying to install ruby-ldap in windows environment. When I run ‘ruby  
extconf.rb’ I continually recieve errors stating that it can’t find  
ldap.h and some other files despite even though I have provided the  
directory location of these files. I have tried nearly every combination  
os specifying library directory, openldap directory, and the directory  
for the .h files.

C:\ldap\ruby-ldap-0.9.2\>ruby extconf.rb --with-openldap2  
–with-ldap-libdir=C:\ldap2-ruby\openldap-2.3.11\libraries\ --w  
ith ldap-incdir=C:\ldap2-ruby\openldap-2.3.11\include  
checking for ldap.h… no  
checking for lber.h… no  
checking for ldap\_ssl.h… no  
can’t find ldap.h and lber.h  
use the option ‘–with-ldap-dir’!

Does anybody know if I am missing something or doing something wrong?

-Shaun
