[Tkinter-discuss] Segfault in Image.PhotoImage on OS X

Kevin Walzer kw at codebykevin.com
Thu Nov 15 03:20:05 CET 2012


On 11/14/12 1:51 PM, mohsen jadidi wrote:
> Can you explain in more detail? what is wrong with my install_name_tool?
> what do you mean by offending library?
>
>
> On Wed, Nov 14, 2012 at 7:48 PM, Kevin Walzer <kw at codebykevin.com
> <mailto:kw at codebykevin.com>> wrote:
>
>     It's likely that a Tk or Python library is linking against one
>     framework and Tk itself links against another.  You'll have to run
>     install_name_tool on the offending library.

Rather than running otool -L against the Python and Tk frameworks, run 
it against  tkinter.so, and whatever shared objects/dylibs are part of 
the Imaging extension. They should be linked against the same framework 
as tkinter.so. The install_name_tool CLI program can fix this. See man 
install_name_tool for more information.

--Kevin


-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Tkinter-discuss mailing list