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.
You need to specify RTLD_GLOBAL flag to dlopen. This will allow correct weak symbol binding, so each typeinfo symbol for exception object will point at the same place, which is needed by exception processing ABI code.