On Sun, Feb 15, 2015 at 12:41 PM, Cyd Haselton <chasel...@gmail.com> wrote:
*snip* > >> So to obtain the pointer to >> dlopen the code like above can use dlsym(RTLD_DEFAULT, "dlopen"), but not >> RTLD_NEXT (the loader precedes the fakeroot library in the lookup chain). >> *snip* Just a quick update: RTLD_DEFAULT is definitely not the solution here as it results in a segfault when libfakechroot loads. Perhaps a different RTLD_FLAG was meant?