[compiz] RTLD_GLOBAL flag for dlopen

David Reveman davidr at novell.com
Mon Apr 9 09:54:43 PDT 2007

On Mon, 2007-04-09 at 17:16 +0100, Mike Dransfield wrote:
> I am just experimenting with a plugin loader and I found
> that there are problems with external symbols which are
> loaded at runtime.
> The solution is to add RTLD_GLOBAL to the dlopen mode,
> but I am not sure if this would cause other problems.

So your plugin loader provides symbols that subsequently loaded plugins
use? What are those symbols and what are they used for? Maybe there's a
more appropriate way to provide those symbols to the plugins.

- David

More information about the compiz mailing list