FreeBSD Port: freeradius3-3.0.15_1 with mariadb102-server

Igor Jankov ijankov at gmail.com
Fri Sep 22 13:46:18 UTC 2017


Hello!
I have problem use MariaBD/mysql database with freeradius
on  11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309 amd64.

config: /usr/local/etc/radius/mods-enabled/sql
	...
	driver = "rlm_sql_mysql"
	...
	dialect = "mysql"
	...

in debug mode: radiusd -X
shows

Could not link driver rlm_sql_mysql: Cannot open 
"/usr/local/lib/freeradius-3.0.15/rlm_sql_mysql.so"
Make sure it (and all its dependent libraries!) are in the search path 
of your system's ld
/usr/local/etc/raddb/mods-enabled/sql[20]: Instantiation failed for 
module "sql"

How I can use mysql database with freeradius on FreeBSD?

Thanks
    Igor Jankov


More information about the freebsd-ports mailing list