[Python-Dev] test_tempfile failure on Mac OSX

Bob Ippolito bob at redivi.com
Mon Aug 16 20:17:12 CEST 2004


On Aug 16, 2004, at 2:07 PM, Skip Montanaro wrote:

>
>>> Dunno.  It was required to provoke the failure for me.  I was
>>> encouraged that Bob's box didn't fail.  How is your _tkinter.so
>>> linked?
>
>     Michael> It's not, I don't have one :-) test_tcl skips on my 
> system.
>
> Sorry about that.  I meant, "Bob, how is your _tkinter.so linked?"...

% otool -L build/lib.darwin-7.3.0-Power_Macintosh-2.4/_tkinter.so
build/lib.darwin-7.3.0-Power_Macintosh-2.4/_tkinter.so:
         /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl 
(compatibility version 8.4.0, current version 8.4.0)
         /Library/Frameworks/Tk.framework/Versions/8.4/Tk (compatibility 
version 8.4.0, current version 8.4.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.0.0)

presumably this is:
-bundle -undefined dynamic_lookup -framework Tcl -framework Tk

(using TclTkAqua framework builds...)

-undefined dynamic_lookup is new to Mac OS X 10.3, and allows bundles 
to use Python without linking directly to it.  10.2 would look largely 
the same except it would probably have a -F. -framework Python in 
there.

-bob


More information about the Python-Dev mailing list