<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>Hi 
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>I have been trying 
to build Free-Radius with static libraries.The following 
configuration I have tried.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>./configure 
--prefix=/home/FrRadius --disable-shared 
--with-openssl-libraries=/home/opensslDir8b/lib/ 
--with-openssl-includes=/home/opensslDir8b/include/  </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>I have compiled 
openssl with the following configuration </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>./config no-shared 
--prefix=/home/openssl</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>And I have tried 
almost all the combinations like, openssl with shared option,no-shared option 
and freeradius with "--enable-static", "--enable-shared=no".. 
but</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>I am getting the 
same linking error all the time.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>The error message 
shown below:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>***************************************************************************************************************************************************************</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>...........................</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>..........................................<BR>..........................................................<BR>extracting 
global C symbols from `../modules/rlm_files/.libs/rlm_files.a'<BR>extracting 
global C symbols from `../modules/rlm_ippool/.libs/rlm_ippool.a'<BR>extracting 
global C symbols from `../modules/rlm_mschap/.libs/rlm_mschap.a'<BR>extracting 
global C symbols from 
`../modules/rlm_preprocess/.libs/rlm_preprocess.a'<BR>extracting global C 
symbols from `../modules/rlm_realm/.libs/rlm_realm.a'<BR>extracting global C 
symbols from `../modules/rlm_unix/.libs/rlm_unix.a'<BR>extracting global C 
symbols from 
`../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a'<BR>extracting global 
C symbols from 
`../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a'<BR>(cd 
.libs && gcc  -I/home/Fradius-1.0/libltdl/ -c -fno-builtin 
"radiusdS.c")<BR>rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS 
.libs/radiusd.nmT<BR>gcc .libs/radiusdS.o -pie -static -o radiusd acct.o auth.o 
client.o conffile.o exec.o files.o log.o mainconfig.o modules.o 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>modcall.o nas.o 
proxy.o radiusd.o radius_snmp.o request_list.o session.o smux.o threads.o util.o 
valuepair.o version.o timestr.o xlat.o -Wl,--export-dynamic  
../modules/rlm_acct_unique/.libs/rlm_acct_unique.a 
../modules/rlm_always/.libs/rlm_always.a 
../modules/rlm_attr_filter/.libs/rlm_attr_filter.a </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a 
../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_counter/.libs/rlm_counter.a 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>../modules/rlm_detail/.libs/rlm_detail.a 
../modules/rlm_eap/.libs/rlm_eap.a ../modules/rlm_exec/.libs/rlm_exec.a 
../modules/rlm_expr/.libs/rlm_expr.a </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>../modules/rlm_fastusers/.libs/rlm_fastusers.a 
../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_ippool/.libs/rlm_ippool.a 
/usr/lib/libgdbm.so </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>../modules/rlm_mschap/.libs/rlm_mschap.a 
../modules/rlm_preprocess/.libs/rlm_preprocess.a 
../modules/rlm_realm/.libs/rlm_realm.a </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>../modules/rlm_unix/.libs/rlm_unix.a 
../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a 
/home/Fradius-1.0/src/modules/rlm_eap/libeap/.libs/libeap.a 
../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>../modules/rlm_eap/libeap/.libs/libeap.a 
/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 
-lpthread<BR>/usr/bin/ld: -static and -shared may not be used 
together<BR>collect2: ld returned 1 exit status<BR>rm -f 
.libs/radiusdS.o<BR>gmake[4]: *** [radiusd] Error 1<BR>gmake[4]: Leaving 
directory `/home/Fradius-1.0/src/main'<BR>gmake[3]: *** [common] Error 
2<BR>gmake[3]: Leaving directory `/home/Fradius-1.0/src'<BR>gmake[2]: *** [all] 
Error 2<BR>gmake[2]: Leaving directory `/home/Fradius-1.0/src'<BR>gmake[1]: *** 
[common] Error 2<BR>gmake[1]: Leaving directory `/home/Fradius-1.0'<BR>make: *** 
[all] Error 
2<BR>*****************************************************************************************************************************************************</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>Is it posible to 
compile freeradius with static option ?? If so how I can compile with 
openssl ?? Please help me out!!!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=473033008-25032008>Thanks in 
advance.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=473033008-25032008>Hithesh  </DIV></SPAN></FONT><p>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.
</p>
</BODY></HTML>