On Sat, Jan 04, 2003 at 02:53:38PM +0800, Brian Leung wrote: > hi all, > > i tried to install openldap 2.0.27 ans openssl 0.9.7 into a solaris 8 > box. there are no problems. but when i tried to compile the freeradius > 0.7.1, there are some error in rlm_ldap. Then i tried to rename the > existing /usr/include/lber.h file to /usr/include/lber.h.bak and tried > to use the /usr/localopenldap/include/lber.h instead. The compile > problem is solved.
Not really. That indicates that rlm_ldap isn't being configured correctly. How did you tell it to use the correct lber.h? > ld.so.1: /usr/local/radius-ldap/sbin/radiusd: fatal: relocation error: > file /usr/local/radius-ldap/lib/rlm_ldap-0.7.1.so: symbol ldap_init: > referenced symbol not found > Killed > > The freeradiud is dead automatically. any one know what's the reason? What does 'ldd rlm_ldap-0.7.1.so' say? It probably links against the system LDAP libs (you probably didn't "fix" the problem above correctly), and they are probably not compatible with the OpenLDAP API. You should try 0.8.1 anyway, there are numerous fixes since 0.7.1. Since this is something you have just now compiled there's no reason to continue using an older version. /fc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html