I have got the following setup:
---------------------------- | C++ Application | ---------------------------- | dlopen()s