FreeBSD Port: freeradius3-3.0.15_1 with mariadb102-server

Ryan Steinmetz zi at
Fri Sep 22 13:59:18 UTC 2017

On (09/22/17 15:46), Igor Jankov wrote:
>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
>Could not link driver rlm_sql_mysql: Cannot open
>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"

I would test this again using only MySQL (not mariadb) and confirm that 
the problem is isolated to mariadb.

I've used MySQL support in the past and have seen it work.

You'll also need to confirm that the FreeRADIUS port was installed with 
the MYSQL option enabled.


>How I can use mysql database with freeradius on FreeBSD?
>    Igor Jankov

Ryan Steinmetz
PGP: 9079 51A3 34EF 0CD4 F228  EDC6 1EF8 BA6B D028 46D7

More information about the freebsd-ports mailing list