I was looking here
http://www.die.net/doc/linux/man/man3/dlopen.3.html
about the dlopen() function and I get undefined references. 2 things, what library do I link with so I may use dlopen and its related functions. and secondly is it posible to find these out from the manual page so I won't need to ask.
I didn't have good luck searching google.
Edit: I don't know why I didn't see this (maby because I already knew about how to use dlopen) But it shows right under the example that it provides how to compile
use the "-ldl" to compile just incase anyone else has similar issue.
Thanks