<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi I am having troubles setting freeRadius to work with MySql.<br><span>I 've studied the FAQ at:   <a target="_blank" href="http://wiki.freeradius.org/index.php/FAQ#It_says_.22Could_not_link_..._file_not_found.22.2C_what_do_I_do.3F">http://wiki.freeradius.org/index.php/FAQ#It_says_.22Could_not_link_..._file_not_found.22.2C_what_do_I_do.3F</a>, followed the instructions but I still can't get it to work.</span><br><br>I'm using mysql-5.0.45-linux-i686-glibc23. I just unpacked it to /usr/local ,added a symbolic refference to it (ln -s /usr/local/mysql-5.0.45-linux-i686-glibc23 mysql)<br>and ran the script to set up the database scripts/mysql_install_db --user=mysql.<br>I didn't bother setting up the radius database but that shouldn't matter at this stage. <br>location of
 mysql_congig:   /usr/local/mysql/bin<br><br><br>Other configuration: ubuntu linux 6.06.1 on VMWare Player, the latest version of freeRadius from cvs.<br><br>//I set the path variable so it has the right path in it:<br>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/mysql/bin<br><br>//To make sure:<br>miha@virtubuntu:~/radiusd$ echo $PATH<br>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/mysql/bin<br><br>miha@virtubuntu:~/radiusd$ export PATH    //the tutorial suggest i should do a export                                                                          
         //$PATH, but that doesnt work<br><br>miha@virtubuntu:~/radiusd$ sudo ./configure | grep mysql_config<br><br>//it outputs several lines, including unpopular:<br><br>checking for mysql_config... no<br>configure: WARNING: mysql libraries not found. Use --with-mysql-lib-dir=<path>.<br>configure: WARNING: mysql headers not found. Use --with-mysql-include-dir=<path>.<br>configure: WARNING: sql submodule 'mysql' disabled<br><br>//I also tried to use it with lib dir and include-dir:<br>miha@virtubuntu:~/radiusd$ sudo ./configure --with-mysql-lib-dir=/usr/local/mysql/lib -with-mysql-include-dir=/usr/local/mysql/include | grep mysql_config<br>//Result:<br>checking for mysql_config... no<br>configure: WARNING: mysql headers not found. Use --with-mysql-include-dir=<path>.<br>configure: WARNING: sql submodule 'mysql' disabled<br>//so it still doesn't find include dir??  Am I missing something
 ?<br><br><br><br><br>Please HELP, i'm running out ideas, time and luck. Is it possible that the problem lies in the compiler ? I installed g++, because i was having troubles with gcc.<br>I can change the OS or Mysql version if that is the problem. The official page says that freeRadius works "out of the box" with MySql. Does anyone know a configuration that works ?<br><br>Miha Bicek<br><br><br><br><br><br><br><br></div></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>