couldn't link driver rlm_sql_mysql
Hi All I am setting up freeradius 2.1.11+mysql 5.5.16 on Fedora 13. Executing command "radiusd -X" it says could not link driver rlm_sql_mysql(read as below). It not worked even I install "freeradius-mysql" library but I can find the driver "rlm_sql_mysql.so" in "/usr/lib/freeradius" folder. Anyone can help me? ################################################################### #radiusd -X Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory 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[166]: Failed to load module "sql". /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize section. ################################################################## Best Regards Gary
Hi All It solved after re-install freeradius. I guess installing freeradius-mysql library then freeradius in sequence is correct installation. (or do someways like ld command to link it? But I did ld it didn't work) Best Regards Gary ----- Original Message ----- From: gary To: FreeRadius users mailing list Sent: Wednesday, September 28, 2011 11:34 AM Subject: couldn't link driver rlm_sql_mysql Hi All I am setting up freeradius 2.1.11+mysql 5.5.16 on Fedora 13. Executing command "radiusd -X" it says could not link driver rlm_sql_mysql(read as below). It not worked even I install "freeradius-mysql" library but I can find the driver "rlm_sql_mysql.so" in "/usr/lib/freeradius" folder. Anyone can help me? ################################################################### #radiusd -X Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory 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[166]: Failed to load module "sql". /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize section. ################################################################## Best Regards Gary ------------------------------------------------------------------------------ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 28 Sep 2011, at 08:17, gary wrote:
Hi All It solved after re-install freeradius. I guess installing freeradius-mysql library then freeradius in sequence is correct installation. (or do someways like ld command to link it? But I did ld it didn't work)
Um yes, FreeRADIUS needs to build the mysql backend against the client library, if it can't find the headers it just doesn't build the mysql driver. Arran Cudbard-Bell a.cudbardb@freeradius.org Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !
gary wrote:
I am setting up freeradius 2.1.11+mysql 5.5.16 on Fedora 13. Executing command "radiusd -X" it says could not link driver rlm_sql_mysql(read as below). It not worked even I install "freeradius-mysql" library but I can find the driver "rlm_sql_mysql.so" in "/usr/lib/freeradius" folder. Anyone can help me?
This question is in the FAQ. Read it. Alan DeKok.
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
gary