The framework was dependent on another framework that was not present in path.
The problem was fixed by adding DYLD_FRAMEWORK_PATH environment variable with paths to folders containing these frameworks (see details in dlopen reference for more details).