TkAgg not rendering

Hi,

I have seen related issues recently on the mailing list. I have built the latest matplotlib from CVS in SuSE Linux 8.0 with gcc 3.3. The GTK backend works fine, but GTKAgg and TkAgg pop up a window but don't render the plot. Has anyone had the same problem?

Here is the output of ldd -r _tkagg.so

  libtk8.4.so => /usr/local/lib/libtk8.4.so (0x40003000)
  libtcl8.4.so => /usr/local/lib/libtcl8.4.so (0x400d2000)
  libpng.so.2 => /usr/lib/libpng.so.2 (0x40173000)
  libz.so.1 => /lib/libz.so.1 (0x401a5000)
  libstdc++.so.5 => /usr/local/lib/libstdc++.so.5 (0x401b4000)
  libm.so.6 => /lib/libm.so.6 (0x4026f000)
  libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40292000)
  libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x402f6000)
  libpthread.so.0 => /lib/libpthread.so.0 (0x402ff000)
  libc.so.6 => /lib/libc.so.6 (0x40316000)
  libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4043e000)
  libdl.so.2 => /lib/libdl.so.2 (0x404fe000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: _Py_NoneStruct (./_tkagg.so)
undefined symbol: Py_BuildValue (./_tkagg.so)
undefined symbol: Py_InitModule4 (./_tkagg.so)
undefined symbol: PyArg_ParseTuple (./_tkagg.so)

It looks like these 'undefined symbols' are not the cause of the problem; they are missing from every .so in my site-packages. They must be linked in at run time from somewhere else.

I see that in a previous post, you recommend to link in -lX11 -lXaw,
what exactly do you mean by that? To which command should those be appended?

Thanks in advance !
Dominique