"rlm_sql_mysql"
Alan DeKok
aland at deployingradius.com
Mon Jul 27 16:29:51 CEST 2015
On Jul 27, 2015, at 10:24 AM, Randeep <randeep123 at gmail.com> wrote:
> We are installing freeradius version 3.0.8 from the source.
>
> But we are getting the following error.
>
> I can see that the particular so file is not there in the system. Should I
> install it using yum? But yum list the package for 2.11!!
Don't install it from yum.
> can I install the library when configuring/compiling by giving some options?
>
> Mon Jul 27 19:49:43 2015 : Debug: Loading library using absolute path
> "rlm_sql_mysql"
> Mon Jul 27 19:49:43 2015 : Debug: Library file not found
> Mon Jul 27 19:49:43 2015 : Debug: Falling back to linker search path(s)
> Mon Jul 27 19:49:43 2015 : Debug: Defaults : /lib:/usr/lib
> Mon Jul 27 19:49:43 2015 : Error: Could not link driver rlm_sql_mysql:
> rlm_sql_mysql.so: cannot open shared object file: No such file or directory
> Mon Jul 27 19:49:43 2015 : Error: Make sure it (and all its dependent
> libraries!) are in the search path of your system's ld
> Mon Jul 27 19:49:43 2015 : Error:
> /usr/local/etc/raddb/mods-enabled/sql[20]: Instantiation failed for module
> "sql"
This is a common problem. You built the server, but there were no MySQL header files or client libraries installed. So FreeRADIUS didn't build rlm_sql_mysql.
So... install the MySQL development headers and client libraries. Then, re-build and re-install.
Alan DeKok.
More information about the Freeradius-Users
mailing list