Yeow! You're right, and thanks a bunch. I saw the line about libtk not
being found, of course, but I thought it was a lie. Or at least a
mistake.
Thanks again.
On Aug 6, 2009, at 10:04 AM, Michael Droettboom wrote:
> It appears to be importing _tkagg.so just fine, but it depends on
> Tcl
It appears to be importing _tkagg.so just fine, but it depends on Tcl/Tk
itself, notably libtk8.5.so, which it can not find.
You can see what _tkagg.so depends on with ldd, eg.:
> ldd ~/usr/lib/python2.5/site-packages/matplotlib/backends/_tkagg.so
libtk8.4.so => /usr/lib/libtk8.4.so (0x
I had to build matplotlib and many of its requirements in my home
directory because I lack privileges to put stuff in /usr/local. So I
build python-2.6.2, freetype-2.3.9, numpy-1.3.0, tcl-8.5.7, tk-8.5.7,
and matplotlib-0.98.5.3. Each of those is in its own subdirectory in /
home/gam/packa