undefined symbol: sql_get_socket
Nicolas Goutte
nicolas.goutte at extragroup.de
Tue May 27 18:44:36 CEST 2008
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.
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
As for what this difference exactly means and where to try to fix
this, I do not know. Sorry.
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