The dlopen() function loads a shared object file and returns a “handle” for the loaded object for use with other functions within the dlopen API: dlsym(), dladdr(), dlinfo(), dlclose(), dlmopen(), …
#include <dlfcn.h>
void *dlopen(const char *filename, int flags);