Lines Matching refs:SO_FOR_DLOPEN
9 #define SO_FOR_DLOPEN "lib_for_dlopen.so"
30 do_dlopen(SO_FOR_DLOPEN, RTLD_LAZY);
35 do_dlopen(SO_FOR_DLOPEN, RTLD_NOW);
40 do_dlopen(SO_FOR_DLOPEN, RTLD_GLOBAL);
45 do_dlopen(SO_FOR_DLOPEN, RTLD_LOCAL);
100 void* handle = dlopen(SO_FOR_DLOPEN, RTLD_LOCAL);
102 t_error("dlopen(name=%s, mode=%d) failed: %s\n", SO_FOR_DLOPEN, RTLD_LOCAL, dlerror());
104 handle = dlopen(SO_FOR_DLOPEN, RTLD_LOCAL);
106 t_error("dlopen(name=%s, mode=%d) failed: %s\n", SO_FOR_DLOPEN, RTLD_LOCAL, dlerror());
109 t_error("dlclose %s failed : %s \n", SO_FOR_DLOPEN, dlerror());
112 handle = dlopen(SO_FOR_DLOPEN, RTLD_NOLOAD);
114 t_error("dlopen(name=%s, mode=%d) failed: %s\n", SO_FOR_DLOPEN, RTLD_LOCAL, dlerror());
117 t_error("dlclose %s failed : %s \n", SO_FOR_DLOPEN, dlerror());
121 t_error("dlclose %s failed : %s \n", SO_FOR_DLOPEN, dlerror());
124 handle = dlopen(SO_FOR_DLOPEN, RTLD_NOLOAD);
126 t_error("dlopen(name=%s, mode=%d) failed: %s\n", SO_FOR_DLOPEN, RTLD_LOCAL, dlerror());