Author rinatous
Recipients doko, pitrou, rinatous, sandro.tosi
Date 2013-10-04.19:13:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380914031.18.0.11222548293.issue19153@psf.upfronthosting.co.za>
In-reply-to
Content
> 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
History
Date User Action Args
2013-10-04 19:13:51rinatoussetrecipients: + rinatous, doko, pitrou, sandro.tosi
2013-10-04 19:13:51rinatoussetmessageid: <1380914031.18.0.11222548293.issue19153@psf.upfronthosting.co.za>
2013-10-04 19:13:51rinatouslinkissue19153 messages
2013-10-04 19:13:51rinatouscreate