How to use .dylib's ?

Where is dlopen ?
.dylib library, just add to your project.
Of course, you will also need the corresponding header file to make your code compile correctly…
If you need
dlopen functionnality, there is an implementation in the OpenDarwin project, you will find it in the proj/dlcompat subtree.
To use a