Building freeradius from source

Nirmal Guhan vavatutu at
Tue Nov 2 06:24:43 CET 2010

On Mon, Nov 1, 2010 at 8:18 PM, Alan DeKok <aland at> wrote:
> 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.

I use a cross compiler with CC set to mygcc. Is there anything else I must do?

>> 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.

./radiusd: error while loading shared libraries: cannot
open shared object file: No such file or directory

Obviously I do not have libssl. Do I pull sources and build these?

>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list