From dc8406207e45295db61574cc3ef7382a7d550485 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Tue, 16 Jun 2015 13:19:08 -0400 Subject: [PATCH] Add note about package deps --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e105bf8..d742b9e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,16 @@ Requirements adhearsion-ldap uses ActiveLdap internally, which on CRuby can use either ruby-ldap or net-ldap. Since Gemfiles don't allow specifying dependencies like that, must manually install one or the other. See instructions below. +Note that the LDAP gem you choose may require development packages for the header files. You can get them like this: + +```bash +# RHEL & CentOS +$ sudo yum install openldap-devel cyrus-sasl-devel + +# Debian & Ubuntu +$ sudo apt-get install libldap2-dev libsasl2-dev +``` + Install -------