undefined symbol

Alexandre Chapellon alexandre.chapellon at mana.pf
Fri Sep 5 21:15:17 CEST 2008



tnt at kalik.net a écrit :
> Have you replaced sql with proper instance name in sqlippool.conf?
>
>   
Yes I added the name of the sql instance used for accouting: mysqldb in
my case.
> Ivan Kalik
> Kalik Informatika ISP
>
> Dana 5/9/2008, "Alexandre Chapellon" <alexandre.chapellon at mana.pf> piše:
>
>   
>> 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 freeradius at 127.0.0.1:/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
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080905/429e526f/attachment.html>


More information about the Freeradius-Users mailing list