freeradius on solaris 10 - next try

Ramm-Ericson, Johannes Johannes.Ramm-Ericson at sonyericsson.com
Mon Nov 20 15:35:48 CET 2006


 
On Mon, 20 Nov 2006 14:56:00 +0100 (CET), Michael Messner wrote:
> hey @all,
> 
>  the next try to get freeradius with ldap support on a solaris 10:
> 
> I've installed openldap from 
> http://sunfreeware.com/indexintel10.html, so
> I find the ldap libraries:
> 
> /usr/local/lib/libldap-2.3.so.0
> /usr/local/lib/libldap-2.3.so.0.2.9
> /usr/local/lib/libldap.a
> /usr/local/lib/libldap.la
> /usr/local/lib/libldap.so
> /usr/local/lib/libldap_r-2.3.so.0
> /usr/local/lib/libldap_r-2.3.so.0.2.9
> /usr/local/lib/libldap_r.a
> /usr/local/lib/libldap_r.la
> /usr/local/lib/libldap_r.so
> 
> but there is no libldap_r which is searched for during configure!
> 
> checking for pthread_create in -lpthread... yes
> checking for ldap_init in -lldap_r... no
> checking for ldap.h... yes
> configure: WARNING: silently not building rlm_ldap.
> configure: WARNING: FAILURE: rlm_ldap requires:  libldap_r.
> 
> any ideas?
> 
> ca mIke

Try ./configure --with-rlm-ldap-lib-dir=/usr/local/lib  (and include all
your other configure options aswell of course...)

/johannes




More information about the Freeradius-Users mailing list