Rinat added the comment:
> Or perhaps you can dlopen the CPython shared library with the RTLD_GLOBAL
> flag. I don't know.
Yes, it works. I made it is my shared library before boost block like this
{
void* handle = dlopen("libpython2.7.so", RTLD_LAZY | RTLD_GLOBAL);
New submission from Rinat:
I have same error as here described http://bugs.python.org/issue4434
I made everythings according this article
http://docs.python.org/2/extending/embedding.html#compiling-and-linking-under-unix-like-systems
and more but when i try to call interpriter from C++ it