Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2017 09:59:14 -0400
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        Igor Jankov <ijankov@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: freeradius3-3.0.15_1 with mariadb102-server
Message-ID:  <20170922135914.GA36641@exodus.zi0r.com>
In-Reply-To: <f4269d2e-b09c-dfa3-879d-b868529b9102@gmail.com>
References:  <f4269d2e-b09c-dfa3-879d-b868529b9102@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170922135914.GA36641>