Hi, On 23 July 2012 21:48, Dima Ryazanov <dima at gmail.com> wrote: > But dlsym(RTLD_NEXT, "calloc") works, though - no need for dlopen. That's > how test-runner looks up "malloc" and "free". I meant dlsym uses calloc (through _dlerror_run) rather than dlopen, sorry. Cheers, Daniel