Could not link driver rlm_sql_mysql.so
hi, I couldn't be able to link the driver of mysql 5 with free radius 2.0.2due to this file "rlm_sql_mysql.so". I couldn't locate this file in my entire system. I've gone througe all the faq's, but it doesn't work. the error's still there. The errors look like 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. /usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql" /usr/local/etc/raddb/sites-enabled/default[124]: Failed to find module "sql". /usr/local/etc/raddb/sites-enabled/default[34]: Errors parsing authorize section. With Regards Elangbam Johnson
johnson elangbam wrote:
hi, I couldn't be able to link the driver of mysql 5 with free radius 2.0.2 due to this file "rlm_sql_mysql.so". I couldn't locate this file in my entire system. I've gone througe all the faq's, but it doesn't work. the error's still there.
(1) Did the server find the MySQL headers at "configure" time? (2) Did the server build the rlm_sql_mysql.so file? The output of "configure" and "make" WILL say whether or not they're building the module. Yes, the output is long and full of things you don't care about. Dump the output to a file, and use "grep" to find references to mysql. It sounds like you haven't installed the MySQL client libraries and the client development headers. Without those, the build system won't be able to create rlm_sql_mysql.so. Alan DeKok.
Hi,
I couldn't be able to link the driver of mysql 5 with free radius 2.0.2due to this file "rlm_sql_mysql.so". I couldn't locate this file in my entire system. I've gone througe all the faq's, but it doesn't work. the error's still there.
answered every week on this list. your system didnt built FR with mysql support. why? probably because you dont have the required development package installed..eg mysql-devel if you run the configure stage through some sanity checking, you get to see all the good stuff....eg ./configure --with-blah-blah | grep WARN alan
On Friday 15 February 2008 05:20:21 A.L.M.Buxey@lboro.ac.uk wrote:
if you run the configure stage through some sanity checking, you get to see all the good stuff....eg
./configure --with-blah-blah | grep WARN
alan
I prefer the following so you can go over all the output, not just the WARN lines: script ~/fr2-output ./configure --blah exit grep whatever ~/fr2-output -Kevin
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
johnson elangbam -
Kevin Bonner