Hello

 I have been able to compile freeradius on mac os X 10.2.8 (jaguar)

 The freeradius is ok I can authentify, everything look great

 I have also install mysql and import all needed database for dialup_admin.

 But I can't activate the rlm_sql_mysql driver. The error message that i get
while launching the check-config script or radiusd with option -X is :

 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 have tryed many things to solve it without success
 I have tryed to compile mysql from the source instead of using apple
package
 I have try several different path for the configure option


./configure --with-mysql-dir=/usr/local/bin --with-mysql-lib-dir=/usr/local/
lib/mysql --with-mysql-include-dir=/usr/local/include/mysql --disable-shared

./configure --with-mysql-dir=/Library/MySQL/bin --with-mysql-lib-dir=/Librar
y/MySQL/lib/mysql --with-mysql-include-dir=/Library/MySQL/include/mysql --di
sable-shared

 and many others ...

 I have also tryed to link the lib manually with common OSX tool (dyld, ld,
 libtool, ar, ...)

 So my questions are the following :

 Did someone has been able to use the mysql modules with free radius on OSX?

 What should be the way to link properly/correctly the rlm_sql_mysql lib ?

 How can i check that my MySQL is link as static ?

 Thanks you in advance




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

Reply via email to