you must have to install mysql <br>mysql-libs<br>mysql-devel<br>in order to add support of mysql<br>before compiling freeradius<br><br><br><div class="gmail_quote">On Thu, Nov 6, 2008 at 3:08 PM, hsuan <span dir="ltr"><<a href="mailto:hsuan@nchc.org.tw">hsuan@nchc.org.tw</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all :<br>
When I delete the file rlm_sql.so(/usr/local/etc/raddb/modules),then I start<br>
<div class="Ih2E3d">the radius server using radiusd -x i get the following message :<br>
<br>
<br>
</div>Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared<br>
object<br>
file: No such file or directory<br>
Make sure it (and all its dependent libraries!) are in the search path of<br>
your s<br>
ystem's ld.<br>
/usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql"<br>
/usr/local/etc/raddb/sites-enabled/default[152]: Failed to find module<br>
"sql".<br>
/usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize<br>
section<br>
.<br>
}<br>
Errors initializing modules<br>
<br>
<br>
What's the problem ? how can I to solve the problem ?<br>
<div class="Ih2E3d">Thanks for any help<br>
<br>
Regards<br>
Vicky<br>
<br>
</div><div class="Ih2E3d">-----Original Message-----<br>
From: freeradius-users-bounces+hsuan=<a href="http://nchc.org.tw" target="_blank">nchc.org.tw</a>@<a href="http://lists.freeradius.org" target="_blank">lists.freeradius.org</a><br>
[mailto:<a href="mailto:freeradius-users-bounces%2Bhsuan">freeradius-users-bounces+hsuan</a>=<a href="http://nchc.org.tw" target="_blank">nchc.org.tw</a>@<a href="http://lists.freeradius.org" target="_blank">lists.freeradius.org</a>] On<br>
</div><div class="Ih2E3d">Behalf Of <a href="mailto:tnt@kalik.net">tnt@kalik.net</a><br>
Sent: Thursday, November 06, 2008 5:47 PM<br>
To: FreeRadius users mailing list<br>
</div><div class="Ih2E3d">Subject: RE: radiusd -x gives error "Errorsreading<br>
/usr/local/etc/raddb/radiusd.conf"<br>
<br>
</div><div><div></div><div class="Wj3C7c">>including configuration file /usr/local/etc/raddb/modules/etc_group<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/wimax<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/detail<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/pap<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/expiration<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/digest<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/mac2ip<br>
><br>
>including configuration file /usr/local/etc/raddb/modules/rlm_sql.so<br>
><br>
>/usr/local/etc/raddb/modules/rlm_sql.so[31]: Expecting section start brace<br>
>'{' after "; P"<br>
><br>
<br>
What is rlm_sql.so doing in /modules directory? It shouldn't be there.<br>
That directory is for module configuration files.<br>
<br>
Ivan Kalik<br>
Kalik Informatika ISP<br>
<br>
-<br>
List info/subscribe/unsubscribe? See<br>
<a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
<br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards <br><br>Yawar Hadi Noshahi<br> QAU Islamabad <br>(+92-0300-5504798)<br>