[C++-sig] Doing dlopen() from within a Python extension

Pertti Kellomäki pk at cs.tut.fi
Thu May 10 23:08:20 CEST 2007


Pertti Kellomäki wrote:
> There seems to have been a lot of discussion around
> the issue, but I am yet to find a definite answer of
> how to make the dlopen() work.

It seems that setting the RTLD_GLOBAL flag with
sys.setldopenflags() before loading my extensions resolves
the issue.
-- 
Pertti



More information about the Cplusplus-sig mailing list