U can try to add /usr/lib/mysql/lib to /etc/ld.so.conf and run ldconfig
> > Date: Mon, 17 Jun 2002 17:51:16 -0400 (EDT) > From: Hayden Myers <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: radius & mysql > Reply-To: [EMAIL PROTECTED] > > I'm having problems with freeradius and mysql. It appears radius can't > find some files. I'm not sure what's going on. I've got the mysql > libraries in /usr/data/mysql/lib/mysql which is symbolically linked to > /usr/lib/mysql. I've got the radius libraries in /usr/local/lib/ > > The files in /usr/local/lib with *sql* are > rlm_sql.a rlm_sql.so rlm_sql.so.0.0.0 rlm_sql_mysql.la > rlm_sql.la rlm_sql.so.0 rlm_sql_mysql.a > > while the files in /usr/lib/mysql are > > libdbug.a libmyisammrg.a libmysqlclient.so.10 libnisam.a > libheap.a libmysqlclient.a libmysqlclient.so.10.0.0 sql_mysql.lo > libmerge.a libmysqlclient.la libmystrings.a > libmyisam.a libmysqlclient.so libmysys.a > > My /etc/ld.so.conf looks like this > > /opt/sybase/lib > /usr/lib/mysql > /usr/local/lib > > I've run /sbin/ldconfig. > > I've created a new database, radius in mysql and ran the correct schema > file to create the necessary tables. For testing purposes the database is > created as root and the sql.conf has root for the login and root's > password as the password. I've modified radius.conf to accept only sql > for authorization and authentication. When I try to start radius using > /usr/local/sbin/radiusd -x I see this message. > > Starting - reading configuration files ... > Module: Loaded SQL > rlm_sql: Could not link driver rlm_sql_mysql: file not found > rlm_sql: Make sure it (and all its dependent libraries!) are in the search > path of your system's ld. > radiusd.conf[4]: sql: Module instantiation failed. > > Any ideas? > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
