Hi,

I was able to compile and run version 0.9.1 with these configuration
parameters:
(after adding "-lm" to line #982 of
src/modules/rlm_sql/drivers/rlm_sql_mysql/configure)

CC=gcc ./configure --prefix=/radius/freeradius-0.9.2 \
--with-snmp \
--with-mysql-include-dir=/usr/local/mysql/include \
--with-mysql-lib-dir=/usr/local/mysql/lib

With this new release, above configuration parameters does fine for
compile time. However, "radiusd -sfxxx" command produces this error (I'm
not sending full output, it's somewhat long):

#------------------------------
Thu Oct 23 20:04:21 2003 : Debug:  sql: group_membership_query = "SELECT
GroupName FROM usergroup WHERE UserName='%{SQL-User-Name}'"
Thu Oct 23 20:04:21 2003 : Debug:  sql: connect_failure_retry_delay = 60
Thu Oct 23 20:04:21 2003 : Debug:  sql: simul_count_query = ""
Thu Oct 23 20:04:21 2003 : Debug:  sql: simul_verify_query = "SELECT
RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId,
FramedIPAddress, CallingStationId, FramedProtocol FROM radacct WHERE
UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
Thu Oct 23 20:04:21 2003 : Error: rlm_sql (mysql): Could not link driver
rlm_sql_mysql: ld.so.1: /radius/sbin/radiusd: fatal: relocation error:
file /radius/freeradius-0.9.2/lib/rlm_sql_mysql-0.9.2.so: symbol floor:
referenced symbol not found
Thu Oct 23 20:04:21 2003 : Error: rlm_sql (mysql): Make sure it (and all
its dependent libraries!) are in the search path of your system's ld.
Thu Oct 23 20:04:21 2003 : Error: radiusd.conf[14]: mysql: Module
instantiation failed. 
#-------------------------------

Mysql lib path is already in /var/ld/ld.config. Here goes the 'crle'
output:
Configuration file [3]: /var/ld/ld.config  
  Default Library Path (ELF):
/usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/mysql/lib
  Trusted Directories (ELF):    /usr/lib/secure  (system default)


In 0.9.2 changelog, I noticed a 'Fix rlm_sql to only try to load SQL
drivers'. Could this be affecting rlm_sql_mysql behaviour??? What can I
do to fix this??

Thanks..

Ali Gunduz


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

Reply via email to