[issue11222] Python3.2rc3 fails to build on Mac OS X with a non-framework build
STINNER Victor
report at bugs.python.org
Wed Feb 16 12:46:50 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Ah ok, the issue comes from configure.in near line 779:
Darwin*)
LDLIBRARY='libpython$(LDVERSION).dylib'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED='DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}'
;;
The problem is that configure.in uses libpython$(LDVERSION).dylib, whereas Makefile.pre.in uses libpython$(VERSION).dylib. Attached patch changes Makefile.pre.in to use libpython$(LDVERSION).dylib.
I don't know if this change is correct or not. I don't know if the options for the compilation in framework mode should be changed too. I don't know what is the Mac framework :-)
See also http://www.python.org/dev/peps/pep-3149/ (ABI version tagged .so files)
----------
keywords: +patch
Added file: http://bugs.python.org/file20769/darwin_ldlibrary.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11222>
_______________________________________
More information about the Python-bugs-list
mailing list