Message154930
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. |
|
Date |
User |
Action |
Args |
2012-03-05 08:09:22 | ned.deily | set | recipients:
+ ned.deily, shibingli |
2012-03-05 08:09:22 | ned.deily | set | messageid: <1330934962.55.0.0188434293089.issue14197@psf.upfronthosting.co.za> |
2012-03-05 08:09:21 | ned.deily | link | issue14197 messages |
2012-03-05 08:09:21 | ned.deily | create | |
|