[issue19153] Embedding into a shared library fails again

2013-10-04 Thread Rinat
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);

[issue19153] Embedding into a shared library fails again

2013-10-03 Thread Rinat
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