Did you install MySQL by compiling from source, or using a precompiled binary distribution from www.mysql.com ? You might want to try compiling from source if you haven't done so. I have observed on a recent FreeRADIUS upgrade that using the MySQL 3.23.55 precompiled binary distribution (at least for FreeBSD 4.x), that some libraries that FreeRADIUS rlm_mysql requires to compile are not included in the package.
Compiling MySQL from source made all of the libraries that were needed and I was able to install FreeRADIUS with MySQL support after that. -- Mark P. Hennessy [EMAIL PROTECTED] On Fri, 14 Mar 2003, Pedro Alvarez-Tab�o wrote: > Date: Fri, 14 Mar 2003 11:35:16 +0100 > From: Pedro Alvarez-Tab�o <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: FreeRADIUS & MYSQL > > Hello, > > I'm having problems with configuring freeRADIUS with MySQL. > > I have done (Linux RH 7.3): > > - Installed MySQL > - freeRADIUS: > ./configure --localstatedir=/var --sysconfdir=/etc > --with-mysql-include-dir=/usr/local/mysql/include > --with-mysql-lib-dir=/usr/local/mysql/lib > --with-mysql-dir=/usr/local/mysql > make > make install > - Added sql to the authorize and accounting sections in radiusd.conf > - Added user information to the following tables in radius database: usergroup, > radcheck, radreply, radgroupreply > - Added "/usr/local/mysql/lib" and "/usr/local " to "/etc/ld.so.conf" and > executed ldconfig > > When starting freeRADIUS, apparently everythig is ok until the following error > occurs: > > rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found > rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search > path of your system's ld. > radiusd.conf[14]: sql: Module instantiation failed. > > I would really like to know which is exactly the library(ies) it is attempting to > load at runtime. I really don't know what I'm doing wrong. > > Thanks in advance for your help. > > Pedro > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
