Building freeradius from source

Alan DeKok aland at
Tue Nov 2 04:18:35 CET 2010

Nirmal Guhan wrote:
> Am trying to compile freeradius (freeradius-server-2.1.10) for my own
> distro (based on 2.6.32 kernel from and running into
> compilation errors. :
> libtool: link: `rlm_eap_md5.lo' is not a valid libtool object
> gmake[9]: *** [] Error 1
> Please let me know a way to fix this.

  Use a standard build system.  You've done something so that parts of
the server are built with libtool, and parts are not.  This is *not* the
default way to build the server.

> Also, radiusd seems to be pulling in many shared libraries. Do I need
> to compile them from source myself 

  I have no idea why you would think that is necessary.

> or are there any short cuts (if
> someone has tried this before) ? I know compiling it for Fedora or a
> similar distro is easier but unfortunately that won't help me.
> Note that I just need simple password (cleartext) based authentication
> leaving out the crypto stuff.

  Just build the server.  It will work.

  It *optionally* uses a lot of shared libraries (ldap, sql, etc.)  But
those are not *required* for authentication.

  Alan DeKok.

More information about the Freeradius-Users mailing list