I am trying to use dlopen() and dlsym() in my code and compile it with gcc.
dlopen()
dlsym()
gcc
Here is the first file.
/* main.c
This made my code sufficiently pedantic:
*(void**)(&func_ptr) = dlsym(handle, "function_name");
(I found it here http://pubs.opengroup.org/onlinepubs/009695399/functions/dlsym.html)