|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!
|Tags||No tags attached.|
Cory Quammen (developer)
Possible fix posted at:
Kitware Robot (administrator)
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.
|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|
|Copyright © 2000 - 2018 MantisBT Team|