[Orbit-python-list] Python and dlopen for Orbit-Python CVS Was Re: [Orbit-python-list] Problems wit
Status: Inactive
Brought to you by:
tack
From: Christian R. R. <ki...@as...> - 2000-12-04 16:30:10
|
On Mon, 4 Dec 2000, Christian Robottom Reis wrote: > On Sat, 2 Dec 2000, Christian Robottom Reis wrote: > > > > I too am pretty stumped. Have you tried this on another system? Is it > > > only a problem on one machine? Okay, tracked down the problem and would like to discuss a fix. It seems Python-1.5.2 doesn't do a dlopen() with RTLD_GLOBAL, but RedHat issues a patched version which I assume you're using (or some patched version) to importdl.c. This is a problem for anybody using a source-compiled python, and it would be nice to a) provide the patch with orbit-python or b) workaround this some way. Solution a) is okay in the short run as long as we document it somewhere ;-) I've attached the patch and have no further problem here; let me know what you think we could do in the long run and I might try doing it. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 |