undefined symbol
Alan DeKok
aland at deployingradius.com
Sun Sep 7 08:05:01 CEST 2008
Alexandre Chapellon wrote:
> 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".
I'm presuming this is in the sqlippool configuration...
> freeradius: symbol lookup error:
> /usr/lib/freeradius/rlm_sqlippool-2.0.5.so: undefined symbol: sql_get_socket
You might need to set RTDL_GLOBAL in the various library flags. Or,
hack the build system so that sqlippool depends explicitly on rlm_sql.
It's horrible, but it works.
Hmm... a simpler way is simply to have the rlm_sql module add the
function pointers to it's instance data structure. That way, the other
modules can grab the function pointers from that, and use them.
Try checking out a fresh copy from git.
Alan DeKok.
More information about the Freeradius-Users
mailing list