MantisBT - VTK
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016068||VTK||(No Category)||public||2016-04-10 03:21||2016-08-12 09:55|
|Reporter||Tim D. Smith|
|Assigned To||Kitware Robot|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0016068: Python modules should not link to PYTHON_LIBRARY on OS X|
|Description||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!
|Steps To Reproduce|
|Tags||No tags attached.|
|2016-04-10 03:21||Tim D. Smith||New Issue|
|2016-07-06 17:35||Cory Quammen||Note Added: 0036315|
|2016-08-12 09:55||Kitware Robot||Note Added: 0037469|
|2016-08-12 09:55||Kitware Robot||Status||backlog => closed|
|2016-08-12 09:55||Kitware Robot||Resolution||open => moved|
|2016-08-12 09:55||Kitware Robot||Assigned To||=> Kitware Robot|