[Distutils] Trouble building visual python extension on MacOSX 10.8… with python3.2

Steve Spicklemire steve at spvi.com
Mon Feb 18 18:44:18 CET 2013


I should mention that at least one of the differences here:

aluminum:visual_common steve$ grep Indirect ~/t6.txt 
Indirect symbols for (__TEXT,__symbol_stub1) 1442 entries
Indirect symbols for (__DATA,__nl_symbol_ptr) 2168 entries
Indirect symbols for (__DATA,__la_symbol_ptr) 1442 entries
Indirect symbols for (__TEXT,__symbol_stub1) 1442 entries
Indirect symbols for (__DATA,__nl_symbol_ptr) 2168 entries
Indirect symbols for (__DATA,__la_symbol_ptr) 1442 entries
aluminum:visual_common steve$ grep Indirect ~/t8.txt 
Indirect symbols for (__TEXT,__symbol_stub1) 1442 entries
Indirect symbols for (__DATA,__nl_symbol_ptr) 2168 entries
Indirect symbols for (__DATA,__la_symbol_ptr) 1442 entries

Also the shared libs themselves are here:

10.6 build -> <https://dl.dropbox.com/u/20562746/dist-build/cvisual.so-10.6-build.zip>

10.8 build -> <https://dl.dropbox.com/u/20562746/dist-build/cvisual.so-10.8-build.zip>

aluminum:visual_common steve$ ls -la ~/3.2sitepack/VPython-10.6-Build/visual_common/cvisual.so cvisual.so 
-rwxr-xr-x  1 steve  steve  12708776 Feb 13 14:25 /Users/steve/3.2sitepack/VPython-10.6-Build/visual_common/cvisual.so
-rwxr-xr-x  1 steve  steve  12708776 Feb 18 06:44 cvisual.so

On Feb 18, 2013, at 10:07 AM, Steve Spicklemire <steve at spvi.com> wrote:

> Finally.. I thought I'd try to inspect the produced .so file. With otool I figured out how to dump the symbol table (-vI) and found that while they have exactly the same size, they have very different symbol tables:
> 
> 10.6 -> <https://dl.dropbox.com/u/20562746/dist-build/t6.txt>
> 
> 10.8 -> <https://dl.dropbox.com/u/20562746/dist-build/t8.txt>
> 
> Strange!



More information about the Distutils-SIG mailing list