Building freeradius from source

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


On Mon, Nov 1, 2010 at 8:18 PM, Alan DeKok <aland at deployingradius.com> 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 kernel.org) and running into
>> compilation errors. :
>>
>> libtool: link: `rlm_eap_md5.lo' is not a valid libtool object
>> gmake[9]: *** [rlm_eap_md5.la] 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: libssl.so.10: cannot
open shared object file: No such file or directory

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

Thanks,
Nirmal
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>




More information about the Freeradius-Users mailing list