MantisBT - VTK
View Issue Details
0016068VTK(No Category)public2016-04-10 03:212016-08-12 09:55
Tim D. Smith 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
TBD
incorrect functionality
0016068: Python modules should not link to PYTHON_LIBRARY on OS X
VTK's importable Python modules are directly linked against PYTHON_LIBRARY on OS X. This means that importing them from a Python interpreter installed to a different location, even if it is fully compatible, will segfault the interpreter. This is a frequent source of crash reports in Homebrew.

If these modules were built with `-undefined dynamic_lookup` in place of an explicit link to a Python library, these modules could be shared between compatible interpreters with impunity, which would make VTK much simpler to deploy on OS X and reduce the number of crash reports we receive.

I've written about this problem in greater detail at http://blog.tim-smith.us/2015/09/python-extension-modules-os-x/. [^]

I spent an hour or so fiddling with VTK's CMake configuration and couldn't quickly produce the desired result so I haven't sent a pull request.

Please let me know if I can help. Thanks!
No tags attached.
Issue History
2016-04-10 03:21Tim D. SmithNew Issue
2016-07-06 17:35Cory QuammenNote Added: 0036315
2016-08-12 09:55Kitware RobotNote Added: 0037469
2016-08-12 09:55Kitware RobotStatusbacklog => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0036315)
Cory Quammen   
2016-07-06 17:35   
Possible fix posted at:

https://gitlab.kitware.com/vtk/vtk/merge_requests/1511/commits [^]
(0037469)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.