Alan, Ok I got it to work....
I needed to add -ldl to the linker. It seems that I have needed to do this a lot on my redhat 7.1 box. Any ideas why configure didn't sort this out for me, or is it how I have my redhat machine setup? thanks again, schu [EMAIL PROTECTED] wrote: > Matthew Schumacher <[EMAIL PROTECTED]> wrote: > >>still doesn't work: >> >>[root@mail1 rlm_ldap]# ./configure >> > > Have you tried doing 'configure' from the TOP directory of the source > tree? > > >>checking for ldap_init in -lldap... no >>configure: warning: silently not building rlm_ldap. >> > > Yup. That's exactly what I would expect. > > >>Any other ideas? >> > > Do a 'configure' from the top-level directory. Odds are that it > will work. > > Why? Look at 'rlm_lap/config.log'. Find the line where it's > failing to find ldap_init() in -lldap. It will be probably > complaining about some 'res_XXX' functions. > > Try: > > [root@mail1 rlm_ldap]# LIBS=-lresolv ./configure > > > If you run configure from the top-level directory, it finds this for > you. > > Yes, we *could* make each module's "configure" file complete and > perfect. But that takes time, and they're not really meant to be run > from that directory. > > Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
