Thanks Alan. yum install mysql-devel fixed it Regards, Randeep On Mon, Jul 27, 2015 at 7:59 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Jul 27, 2015, at 10:24 AM, Randeep <randeep123@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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Randeep Mob: +919447831699[kerala] Mob: +919880050349[B'lore] http://twitter.com/Randeeppr http://in.linkedin.com/in/randeeppr [image: --] Randeep Raman [image: http://]about.me/Randeeppr <http://about.me/Randeeppr>