+ // we need to use either RTLD_NOW or RTLD_LAZY because if we call dlopen()
+ // with flags == 0 recent versions of glibc just fail the call, so use
+ // RTLD_NOW even if wxDL_NOW was not specified
+ int rtldFlags = flags & wxDL_LAZY ? RTLD_LAZY : RTLD_NOW;