Debian and RTLD_GLOBAL (again)

Chris Moules chris at
Thu Jan 8 09:39:02 CET 2009

Hello Alan,

sorry for not specifying, this is with the 2.1.3 tarball release, build with dpkg-buildpackage on a Debian Lenny (5.0 - testing)

I can re-build with '--enable-developer' and try to get a backtrace if that would help.

The debug output up to the crash is:
Login OK: [test/test] (from client port 1)
+- entering group post-auth {...}
rlm_sql (sql): Reserving sql socket id: 4
[sqlippool]     expand: %{Stripped-User-Name} ->
[sqlippool]     expand: %{User-Name} -> test
[sqlippool]     expand: %{%{User-Name}:-DEFAULT} -> test
[sqlippool]     expand: %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} -> test
[sqlippool] sql_set_user escaped user --> 'test'
freeradius: symbol lookup error: /usr/lib/freeradius/ undefined symbol: rlm_sql_query

The original source is from (MD5):
df7a23ec6303a89d014fcc43418ce5e5  freeradius-server-2.1.3.tar.bz2

The linking of the library:
radius_test:/usr/lib/freeradius# ldd /usr/lib/freeradius/ =>  (0xb7f1b000) => /usr/lib/freeradius/ (0xb7ef6000) => /lib/i686/nosegneg/ (0xb7ed9000) => /lib/i686/nosegneg/ (0xb7ec4000) => /lib/i686/nosegneg/ (0xb7eab000) => /lib/i686/nosegneg/ (0xb7d4d000)
         /lib/ (0x80000000)

Anything I can do?



Alan DeKok wrote:
> Chris Moules wrote:
>> There is a sticking point however, on systems that use the sqlippool
>> module there is still the crash due to a symbol lookup error, the known
>> Debian RTLD_GLOBAL (or lack thereof) issue (I have tried resolving some
>> of this myself, but it is beyond my ken). I have seen that there has
>> been work towards resolving this, The last I (productively) saw written
>> on this was:
>   This should have been fixed in 2.1.3.  Please try that.
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See

More information about the Freeradius-Devel mailing list