RTLD_GLOBAL and sql_ippool

Alan DeKok aland at deployingradius.com
Thu May 8 16:21:41 CEST 2008

Stephen Gran wrote:
> ...  This means
> adding rlm_sql.la on the link line, which I'm concerned is likely to be
> unportable across platforms.

  Libtool will take care of any platform portability issues.  It may
complain (a lot) but it should work.

> Do any of you have a better idea about how to proceed?  Several other,
> probably worse, options have occured to me, but I won't bore you with
> all the details just now.

  Linking against rlm_sql.la is probably the best thing.

> There is a new version of libltdl out there that has new functions for
> loading with RTLD_GLOBAL, but it looks like the upstream default is for
> all dlopen'ed objects to be loaded without.


  Alan DeKok.

More information about the Freeradius-Devel mailing list