View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016068VTK(No Category)public2016-04-10 03:212016-08-12 09:55
ReporterTim D. Smith 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0016068: Python modules should not link to PYTHON_LIBRARY on OS X
DescriptionVTK'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!
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0036315)
Cory Quammen (developer)
2016-07-06 17:35

Possible fix posted at:

https://gitlab.kitware.com/vtk/vtk/merge_requests/1511/commits [^]
(0037469)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
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