This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, shibingli
Date 2012-03-05.08:09:21
SpamBayes Score 9.70538e-08
Marked as misclassified No
Message-id <1330934962.55.0.0188434293089.issue14197@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-03-05 08:09:22ned.deilysetrecipients: + ned.deily, shibingli
2012-03-05 08:09:22ned.deilysetmessageid: <1330934962.55.0.0188434293089.issue14197@psf.upfronthosting.co.za>
2012-03-05 08:09:21ned.deilylinkissue14197 messages
2012-03-05 08:09:21ned.deilycreate