i'm having problems compiling freeradius v0.8.1 on a solaris 9 machine with mysql support and any help would be greatly appreciated. here's some more details on the setup.
solaris 9 (12/02) freeradius v0.8.1 mysql 3.23.53 (from sunfreeware.com) mysql base dir is at /usr/local/mysql with includes at /usr/local/mysql/include/mysql and libs at /usr/local/mysql/lib/mysql my ./configure and args are as follows: ./configure --with-mysql-include-dir=/usr/local/mysql/include/mysql --with-mysql-lib-dir=/usr/local/mysql/lib/mysql and the output includes the following: checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for compress in -lz... (cached) yes checking for mysql/mysql.h... yes checking for mysql_init in -lmysqlclient... no configure: warning: mysql libraries not found. Use --with-mysql-lib-dir=<path>. configure: warning: sql submodule 'mysql' disabled and when i run radiusd -X the following is the tail end of the output before failure: 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. /usr/local/mysql/lib/mysql/libmysqlclient.a is there on the system and current sorry about the size of the post, just wanted to get in all the details. feel free to trim on reply. i've been working on this for a while and i think i just need a fresh set of eyes for suggestions. thanks in advance -paul - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
