freeradius configure line

Roger Thomas sniper at home.net.my
Mon Jul 31 03:05:31 CEST 2006


Despite several attempts, configure failed to locate my LDAP installation. I installed openLDAP in a non standard location: /etc/ldap.2.2.13 . 

I have tried freeradius configure like these:

a) (includes and libraries) ./configure --with-ldap-includes=/etc/ldap.2.2.13/include --with-ldap-libraries=/etc/ldap.2.2.13/lib

b) (include and lib) ./configure --with-ldap-include=/etc/ldap.2.2.13/include --with-ldap-lib=/etc/ldap.2.2.13/lib

c) (DASH between rlm and ldap) ./configure  --with-modules="rlm-ldap" --with-rlm-ldap-include-dir=/etc/ldap.2.2.13/include --with-rlm-ldap-lib-dir=/etc/ldap.2.2.13/lib

d) (UNDERSCORE between rlm and ldap) ./configure  --with-modules="rlm_ldap" --with-rlm_ldap-include-dir=/etc/ldap.2.2.13/include --with-rlm_ldap-lib-dir=/etc/ldap.2.2.13/lib



and at aech attempt, I will get these warning messages:

configure: warning: silently not building rlm_ldap.
configure: warning: FAILURE: rlm_ldap requires:  libldap_r.




I don't think it is a question whether I have installed LDAP correctly BECAUSE if I were to install LDAP libs and headers in /usr/local/lib and /usr/local/include, then freeradius would not complain and everthing compiled smoothly.

That said, there could be something that I have missed and  I am sure someone has done this before. Please advise.

--
Roger



---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------



More information about the Freeradius-Users mailing list