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); // boost wrapper for python call dlclose(handle); } I think if nothing helps, i'll put this code into __attribute__((ctor|dtor)) functions Thanks a lot ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19153> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com