1.1.4 and rlm_sql_mysql.so

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Wed Jan 10 09:39:29 CET 2007


Hi,

> 1.1.4 compiles fine and works w/o MySQL (5.0). However, when I run it
> with the SQL lines in radiusd.conf uncommented, I get this:
> 
> rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so:
> cannot open shared object file: No such file or directory
> rlm_sql (sql): Make sure it (and all its dependent libraries!) are in
> the search path of your system's ld.
> radiusd.conf[14]: sql: Module instantiation failed.
> radiusd.conf[1844] Unknown module "sql".
> radiusd.conf[1773] Failed to parse authorize section.
> 
> that library is on my other (RPM-installed) system, but is not
> anywhere on the file system of the new box (including the source
> dir--it isn't in the tarball).

the library is built when you compile FreeRADIUS. if its not there, then
the required files were not present when you ./configure'd the freeradius
source code.  you should always check the output of ./configure thoroughly
to see any issues.  as a starter, you'll need to have mysql-devel installed
for MySQL freeradius libraries to be compiled

alan



More information about the Freeradius-Users mailing list