On Tue, Feb 17, 2009 at 10:53 PM, Maik Beckmann
<bec...@go...> wrote:
> 2009/2/17 Roman Yakovenko <rom...@gm...>:
>> Add the following lines before you import your modules
>>
>> import dl
>> import sys
>> sys.setdlopenflags(dl.RTLD_NOW | dl.RTLD_GLOBAL)
>>
>> and you are going to be fine.
>
> Ok, but I'll stick with with indexing_suite_v1 vor now. I just don't
> feel comfortable with modules having special needs (dead line
> approaches).
If you are going to stick to std::vector and std::map you should be
fine. If you will need other containers - you will have to use V2.
> But thanks for the hint. I've done a grep at /usr/lib/python2.6 for
> RTLD_GLOBAL and RTLD_NOW. A few packages use them
> - vtk
> - libxslt
> - setuptools
> So there must be some info about whether its a dirty hack or a
> recommended workaround.
If you will find one, please drop the link here.
> Thank you,
You are welcome.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|