[issue14197] OS X framework builds do not create ABI-suffixed libpython3.x

Ned Deily report at bugs.python.org
Mon Mar 5 09:09:22 CET 2012


Ned Deily <nad at acm.org> added the comment:

Thank you for the additional information.  It appears the problem is that, for OS X framework builds, the ABI suffix (added in PEP 3149) is not used to create the shared library dylib name in the framework lib directory.  For example,

$ cd Library/Frameworks/Python.framework/Versions/3.2
$ ./bin/python3.2-config --libs
-ldl -framework CoreFoundation -lpython3.2m
$ ls -l ./lib
total 8
lrwxr-xr-x   1 root  wheel     9 Feb 24 09:44 libpython3.2.dylib@ -> ../Python
drwxrwxr-x   2 root  admin   170 Feb 24 08:49 pkgconfig/
drwxrwxr-x  32 root  admin  6290 Feb 24 08:49 python3.2/

But in an --enable-shared --with-pydebug build:

$ ./bin/python3.2-config --libs
-ldl -framework CoreFoundation -lpython3.2dm
$ ls -l ./lib
total 6920
-r-xr-xr-x   1 nad  pyd  3541320 Mar  4 23:40 libpython3.2dm.dylib*
drwxr-xr-x   2 nad  pyd      170 Mar  4 23:40 pkgconfig/
drwxr-xr-x  32 nad  pyd     6290 Mar  4 23:40 python3.2/

Looks like target frameworkinstallmaclib in Makefile.pre.in needs to be changed to include SOABI in the name for the lib symlink.

----------
assignee:  -> ned.deily
components: +Macintosh
stage:  -> needs patch
title: MacOS10.7 compiled uWSGI the issue. -> OS X framework builds do not create ABI-suffixed libpython3.x
versions: +Python 3.3

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


More information about the Python-bugs-list mailing list