<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>Help me please</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>My linux box  Fedora Core5 kernel 
2.6.20-1.2320.fc5<BR>freeradius-1.1.7.tar.gz</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>$ cd ~<BR>$ cp -a /usr/src/redhat/ rpmbuild<BR>$ echo 
'%_topdir %(echo $HOME)/rpmbuild' >> .rpmmacros</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>$ cp freeradius-1.1.7.tar.gz ~/rpmbuild/SOURCES/<BR>$ tar zxf 
freeradius-1.1.7.tar.gz freeradius-1.1.7/redhat/freeradius.spec<BR>$ cp 
freeradius-1.1.7/redhat/freeradius.spec ~/rpmbuild/SPECS/</FONT></DIV>
<DIV> </DIV><FONT size=2>
<DIV><BR>vi freeradius.spec<BR> <BR> %configure --prefix=%{_prefix} 
\<BR>        
 --localstatedir=%{_localstatedir} 
\<BR>        
 --sysconfdir=%{_sysconfdir} 
\<BR>         --mandir=%{_mandir} 
\<BR>        
 --with-docdir=%{_datadir}/doc/%{name}-%{version} 
\<BR>         --with-system-libtool 
\<BR>         --disable-ltdl-install 
\<BR>         --with-ltdl-lib=/usr/lib 
\<BR>        
 --with-ltdl-include=/usr/include 
\<BR>         --with-large-files 
--with-udpfromto --with-edir \<BR>My add line--> 
 --with-mysql-lib-dir=/usr/lib/mysql 
\<BR>        
 --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql 
\<BR>        
 --with-rlm-krb5-include-dir=/usr/kerberos/include 
\<BR>        
 --with-rlm-krb5-lib-dir=/usr/kerberos/lib<BR> make</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Build the RPM. </DIV>
<DIV> </DIV>
<DIV>$ cd ~/rpmbuild/SPECS<BR>$ rpmbuild -bb freeradius.spec</DIV>
<DIV> </DIV>
<DIV># rpm -Uvh freeradius-1.1.7-0.i386.rpm<BR># rpm -Uvh 
freeradius-debuginfo-1.1.7-0.i386.rpm</DIV>
<DIV> </DIV>
<DIV>radiusd.conf ===> enable sql module</DIV>
<DIV> </DIV>
<DIV>starting.......<BR>radiusd -xx <BR>error   huntgroups not 
foung  ==============> first error </DIV>
<DIV> </DIV>
<DIV>/etc/raddb/all file  permision 640 </DIV>
<DIV> </DIV>
<DIV>chmod 644  all file </DIV>
<DIV> </DIV>
<DIV>starting.......<BR>radiusd 
-xx                   
</DIV>
<DIV> </DIV>
<DIV>===============> second error   <BR>rlm_sql (sql): Could not 
link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No 
such file or directory<BR>rlm_sql (sql): Make sure it (and all its dependent 
libraries!) are in the search path of your system's ld.<BR>radiusd.conf[14]: 
sql: Module instantiation failed.<BR>radiusd.conf[1860] Unknown module 
"sql".<BR>radiusd.conf[1789] Failed to parse authorize section.</DIV>
<DIV> </DIV>
<DIV>Thank You very much.<BR></FONT></DIV></FONT></DIV></BODY></HTML>