I’m trying to get FreeRadius to work with MySQL, but it isn’t working. Every time I run radiusd, it doesn’t start, and the log gives me:

 

Fri Jan 17 11:14:36 2003 : Error: rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found

Fri Jan 17 11:14:36 2003 : Error: rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld.

Fri Jan 17 11:14:36 2003 : Error: radiusd.conf[14]: sql: Module instantiation failed.

 

Exactly which libraries does it need? I bought the Radius book from O’Reilly, and there isn’t anything of use in there… I tried adding /usr/local/lib to the /etc/ld.so.conf and running ldconfig, but that didn’t work (do I need to recompile freeradius afterwards?). I also tried compiling freeradius using the –disable-sharing flag, but that didn’t work either. I have freeradius 0.8.1 and mysql 3.23.54a (bench, client, server, and devel). If anyone has any ideas on what I should try, or if you could provide a list of exactly which libraries it needs to find, I can link them manually…?

 

Thanks in advance!

 

Shannon Johnson

Systems Administrator

Reply via email to