<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Alan DeKok a écrit :
<blockquote cite="mid:48C0C15E.1060600@deployingradius.com" type="cite">
  <pre wrap="">Alexandre Chapellon wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I have a problem loading freeradius since i enabled sqlippool
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  You need to enable the SQL module, too.

  </pre>
  <blockquote type="cite">
    <pre wrap="">i get the following message:
freeradius: symbol lookup error:
/usr/lib/freeradius/rlm_sqlippool-2.0.5.so: undefined symbol: sql_get_socket
    </pre>
  </blockquote>
  <pre wrap=""><!---->...
  </pre>
  <blockquote type="cite">
    <pre wrap="">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?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  List "sql" in the "instantiate" section so it's loaded, too.
  </pre>
</blockquote>
<br>
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).<br>
So i have no more module called "sql", and so i tryed adding "mysqldb"
instead of "sql".<br>
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:<br>
<br>
...<br>
rlm_sql (mysqldb): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded
and linked<br>
rlm_sql (mysqldb): Attempting to connect to
<a class="moz-txt-link-abbreviated" href="mailto:freeradius@127.0.0.1:/accounting">freeradius@127.0.0.1:/accounting</a><br>
rlm_sql (mysqldb): starting 0<br>
rlm_sql (mysqldb): Attempting to connect rlm_sql_mysql #0<br>
rlm_sql_mysql: Starting connect to MySQL server for #0<br>
rlm_sql (mysqldb): Connected new DB handle, #0<br>
...<br>
freeradius: symbol lookup error:
/usr/lib/freeradius/rlm_sqlippool-2.0.5.so: undefined symbol:
sql_get_socket<br>
<br>
<blockquote cite="mid:48C0C15E.1060600@deployingradius.com" type="cite">
  <pre wrap="">
  Alan DeKok.
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

  </pre>
</blockquote>
</body>
</html>