STINNER Victor <victor.stin...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11222>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to