On 10/12/11 5:29 PM, Russell E. Owen wrote:
objc[1083]: Class TKWindow is implemented in both
/Library/Frameworks/Tk.framework/Versions/8.5/Tk and
/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two
will be used. Which one is undefined.
Any idea how to deal with this? Google turned up others with this
problem but no obvious solution.
With Tk-Cocoa, typically you see this message when mixing libraries that
are linked to the system Tk in /System/Library/Frameworks/Tk.framework
and another installation (typically ActiveTcl) in
/Library/Frameworks/Tk.framework. OS X gets confused and crashes with
that error message.
The only solution I've found is by making sure that all of your
Tk-linked libraries link to one location or the other. You can do this
by running otool -L on the relevant binaries and seeing where things are
linked. If you're only seeing this issue now after building matplotlib,
then it's logical to assume that matplotlib may have been linked to the
wrong library. You can change the linking by running install_name_tool
to get matplotlib to point to the correct version of Tk.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG