[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

Tim Smith report at bugs.python.org
Fri Feb 13 06:00:37 CET 2015


Tim Smith added the comment:

On Darwin, it would be nice if LINKFORMODULE used "-undefined dynamic_lookup" instead of explicitly linking to a framework binary. Modules with explicit links to a framework cause segfaults when they are imported from a different, but compatible, framework interpreter -- i.e., building against the system Python 2.7 but importing from a user-installed Python 2.7 causes an immediate crash.

I'm a maintainer of Homebrew, a package manager for OS X, and I spend a lot of time tracking down and eliminating errant explicit framework links because they make packaging binaries much harder for us and cause crashes for users.

----------
nosy: +tdsmith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15590>
_______________________________________


More information about the Python-bugs-list mailing list