use dlopen_e and dlsym_e instead of try catch