Alan DeKok a écrit : > Alexandre Chapellon wrote: > >> I have a problem loading freeradius since i enabled sqlippool >> > > You need to enable the SQL module, too. > > >> i get the following message: >> freeradius: symbol lookup error: >> /usr/lib/freeradius/rlm_sqlippool-2.0.5.so: undefined symbol: sql_get_socket >> > ... > >> and none of the linked library contains any sql_get_socket symbol (in >> fact for most of thoose lib files nm returns no symbols) >> >> What the hell did I miss? >> > > List "sql" in the "instantiate" section so it's loaded, too. >
In fact I am using too different sql modules, the first for authentication (named oracledb which uses oracle driver) and the second for accouting (named mysqldb, which uses mysql shims... of course). So i have no more module called "sql", and so i tryed adding "mysqldb" instead of "sql". Unfortunatly, I still get the undefined symbol error when running freeradius -X, and looking deeper at the output I can see in the lines that the rlm_sql module seems to be linked correctly... as you can see: ... rlm_sql (mysqldb): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (mysqldb): Attempting to connect to [EMAIL PROTECTED]:/accounting rlm_sql (mysqldb): starting 0 rlm_sql (mysqldb): Attempting to connect rlm_sql_mysql #0 rlm_sql_mysql: Starting connect to MySQL server for #0 rlm_sql (mysqldb): Connected new DB handle, #0 ... freeradius: symbol lookup error: /usr/lib/freeradius/rlm_sqlippool-2.0.5.so: undefined symbol: sql_get_socket > Alan DeKok. > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > >
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html