Hi Mike,
I installed FreeRadius 0.91 and MySQL successfully in RH9. I use: 
mysql-standard-4.0.15-pc-linux-i686.tar.gz
freeradius-0.9.1.tar.gz

when configuring FreeRadius, I put the following flags:
./configure \
--with-mysql-dir=/usr/local/mysql \
--with-mysql-lib-dir=/usr/local/mysql/lib \
--with-mysql-include-dir=/usr/local/mysql/include

if in case you have a problem when linking FreeRadius to MySQL with the
following error:
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.

You need to go to: 
/usr/local/freeradius-0.9.1/src/modules/rlm_sql/drivers/rlm_sql_mysql

check whether your "rlm_sql_mysql.*" had been created or not. 
If not then you need to go to: 
/usr/local/freeradius-0.9.1/src/modules/rlm_sql
then run:
./configure --disable-shared
make
make install

hope this help.

Cheers 
@rs-,-'--

-----Original Message-----
From: Mike Paneth [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 3:55 AM
To: [EMAIL PROTECTED]
Subject: Redhat 9, Free Raduis 0.9.1 and MySQL


Does anyone have any advice on how to get FR to compile with MySQL on a
standard out of the box RedHat 9?

MySQL doesn't compile because it can't find mysql.h.

Thanx

Mike



- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to