When i use dlopen to dynamically load a library it seems i can not catch exceptions thrown by that library. As i understand it it\'s because dlopen is a C function.
This depends on the version of GCC you are using.
First of all, make sure you compile everything with "-fPIC" and link with the "-rdynamic" flag.
RTLD_NOW flag is still needed.