[vtk-developers] Python dll suffix

David Gobbi david.gobbi at gmail.com
Fri May 11 15:04:52 EDT 2012


On Fri, May 11, 2012 at 10:42 AM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
>
> Are you saying this piece of code show go away quick:
>
> $ grep RTLD_GLOBAL -2 Wrapping/Python/vtk/__init__.py.in
>
> if dl and (os.name == 'posix'):
>    sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
>
> # --------------------------------------
>
>
> That would be nice. I did not know this issue was finally solved.

Wow, It's still there?  I notice that in 2006, I added this comment:
"used to be necessary in VTK 4 but might not be with VTK 5 and later."
But I was not brave enough to remove it back then :)

>> libvtkIOPython26D.so.5.4
>>
>> It's not pretty, but it would work and it would be easy to implement.
>
> Make perfect sense.

Good.  With the new wrapping macros in VTK 6, it should be easy to automate.

 - David



More information about the vtk-developers mailing list