rlm_sql_mysql search path Bug ?

heka at ati-kos.com heka at ati-kos.com
Sat Jan 28 11:27:35 CET 2006


> Hello,
>
> I'm under FreeBSD 6.0 - Freeradius 1.0.5
> I did an install from the port (/usr/ports/net/freeradius) with
> rlm_sql_mysql enabled.
> I set radiusd_enable="YES" in "rc.conf"
> But when I reboot, radius doesn't start and I got this in my
> "/var/log/radius.log":
>
> Sat Jan 28 00:39:55 2006 : Error: rlm_sql (sql): Could not link driver
> rlm_sql_mysql: Shared object "libmysqlclient.so.14" not found, required
> by "rlm_sql_mysql-1.0.5.so"
> Sat Jan 28 00:39:55 2006 : Error: rlm_sql (sql): Make sure it (and all
> its dependent libraries!) are in the search path of your system's ld.
> Sat Jan 28 00:39:55 2006 : Error: radiusd.conf[14]: sql: Module
> instantiation failed.
>
> Very curiously, if I did a "/usr/local/etc/rc.d/radiusd.sh start" then,
> everything goes fine... may I miss something to do ?
>
> Regards,
>
> Jeremy
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
As I can see the problem is that you dont have shared-mysql and
client-libraries installed, try to install them and then run the radius.



More information about the Freeradius-Users mailing list