Skip to content

RTLD_GLOBAL is a bug

Patrick Welche requested to merge pwelche/glib:main into main

This was MR !327 (closed). Resubmitting as the "main" branch is not "master".

Avoid the use of dlopen(...,RTLD_GLOBAL) followed by dlsym(NULL,...) by using RTLD_DEFAULT instead.

I believe this will solve a raft of the issues found by searching for dlopen().

Edited by Philip Withnall

Merge request reports