Freeradius static compilation with openssl

Alan DeKok aland at deployingradius.com
Tue Mar 25 11:07:25 CET 2008


hitheshm at tataelxsi.co.in wrote:
> I have been trying to build Free-Radius with static libraries.The
> following configuration I have tried.
>  
> ./configure --prefix=/home/FrRadius --disable-shared
> --with-openssl-libraries=/home/opensslDir8b/lib/
> --with-openssl-includes=/home/opensslDir8b/include/  

  That should work, presuming all necessary libraries have been built
statically.
...
> /home/Fradius-1.0/src/lib/.libs/libradius.a ../lib/.libs/libradius.a
> -lcrypt /home/Fradius-1.0/libltdl/.libs/libltdl.a -ldl -lnsl -lresolv

  It looks like it's still trying to use -ldl, which is a dynamic library.

  Also, you're using version 1.  Version 2 is much better...

> Is it posible to compile freeradius with static option ?? If so how
> I can compile with openssl ?? Please help me out!!!

  I've done it with Version 2.  I haven't tried it with Version 1 in a
long time.

  Alan DeKok.



More information about the Freeradius-Devel mailing list