Embedding python in C++, using opencv both in python and C++ (dinamically) conflicts

I can’t use same version of OpenCV. Anyway problem is not related to OpenCV but to symbol lookup by the python interpreter. Solution is provided here.