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/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 (0x006c6000) > libtcl8.4.so => /usr/lib/libtcl8.4.so (0x002ce000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x005b9000) > libfreetype.so.6 => /home/mdroe/usr/lib/libfreetype.so.6 > (0x00c92000) > libz.so.1 => /usr/lib/libz.so.1 (0x00111000) > libm.so.6 => /lib/tls/libm.so.6 (0x00a15000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0046b000) > libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00121000) > libc.so.6 => /lib/tls/libc.so.6 (0x00133000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00a7d000) > libdl.so.2 => /lib/libdl.so.2 (0x00281000) > /lib/ld-linux.so.2 (0x00bd1000) > > You may need to add the path to your libtk8.5.so to your > LD_LIBRARY_PATH (since you mention you built it yourself and put it > in a custom location) and then run ldconfig to get the dynamic > linker to find it. > > Cheers, > Mike ========================== Graham Mark CCS-3 Information Sciences Los Alamos National Laboratory 505-667-8147 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users