On (09/22/17 15:46), Igor Jankov wrote:
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"


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.

-r

How I can use mysql database with freeradius on FreeBSD?

Thanks
   Igor Jankov

--
Ryan Steinmetz
PGP: 9079 51A3 34EF 0CD4 F228  EDC6 1EF8 BA6B D028 46D7
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to