Hello,
this is possible but non trivial.
I think the easiest way is to bind the C functions to manage C libraries: dlopen, dlsym, dlclose, dlerror. Then you can manually open and close the dynamic libs (dlopen, dlclose) and call the function dynamically loaded with dlsym. dlerror is used for error handling (else you don't know why your call failed).
Clement.