undefined symbol: sql_get_socket

Nicolas Goutte nicolas.goutte at extragroup.de
Wed May 28 12:38:24 CEST 2008


Am 28.05.2008 um 11:43 schrieb Phil Mayers:

> Nicolas Goutte wrote:
>> Am 27.05.2008 um 18:20 schrieb Giovanni Lovato:
>>> Alan DeKok wrote:
>>>> Giovanni Lovato wrote:
>>>>> I compiled deb packages from 2.0.4 sources. I would use  
>>>>> rlm_sqlippool
>>>>> but I get this message:
>>>>>
>>>>> symbol lookup error: /usr/lib/freeradius/rlm_sqlippool-2.0.4.so:
>>>>> undefined symbol: sql_get_socket
>>>>>
>>>>> How can I solve that?
>>>>
>>>>   Link the server statically:
>>>>
>>>> $ ./configure --disable-shared
>>>>
>>>>   Then again, Debian might only have shared versions of some  
>>>> libraries
>>>> (e.g. Perl), so this might not work, either.
>>>
>>> It doesn't work, `ld' complains about unavailable static  
>>> libraries. What
>>> I can't understand is why other module that use MySQL aren't  
>>> affected by
>>> this problem!
>>> -
>>> List info/subscribe/unsubscribe? See http://www.freeradius.org/ 
>>> list/users.html
>> Try to use nm(1) on the .so files and see if the symbol is  
>> different in the two libraries.
>
> Why? It will be, because it's meant to be.
>
>> I have just checked FreeRadius 2.0.2 on Mac and the symbols are  
>> indeed different. One time T (text section symbol) for rlm_sql.so  
>> but U (undefined) for rlm_sqlippool.so
>
> Because rlm_sqlippool imports it from rlm_sql
>
>> As for what this difference exactly means and where to try to fix  
>> this, I do not know. Sorry.
>
> It means nothing. It's normal.

Well, at least it is a confirmation that the function is not called  
the same way in both libraries,

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

Nicolas Goutte


extragroup GmbH - Karlsruhe
Waldstr. 49
76133 Karlsruhe
Germany

Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle
Registergericht: Amtsgericht Münster / HRB: 5624
Steuer Nr.: 337/5903/0421 / UstID: DE 204607841







More information about the Freeradius-Users mailing list