[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with powerpc port of tkstep8.0/python-tk

I would need help from some powerpc people with a porting bug.

There's a problem with the powerpc port of the tkstep8.0 and python-tk
in potato (cf. Bug#56479). In short, python-tk applications won't work
with tkstep8.0 on powerpc, while the same packages work fine on other


rdreyer:~$ python -c "from Tkinter import *"
Traceback (innermost last):
  File "<string>", line 1, in ?
    File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 8, in ?
        import _tkinter # If this fails your Python may not be configured for Tk
        ImportError: /usr/lib/tkstep/libtk8.0.so.1: undefined symbol: XpmCreateXpmImageFromBuffer

More specific, with both tk8.0 and tkstep8.0 installed, this would work:

  LD_PRELOAD=/usr/lib/libtk8.0.so.1 python -c "from Tkinter import *"

while this fails:

  LD_PRELOAD=/usr/lib/libtkstep8.0.so.1 python -c "from Tkinter import *"

with the error above.

I don't have access to a potato powerpc machine. Could somebody from this
list look into this problem or contact me ?

These are the dependencies of the involved libraries on an i386 machine,
could somebody compare this with his potato powerpc ?

light;23> ldd /usr/lib/python1.5/lib-dynload/_tkinter.so \
    /usr/lib/libtkstep8.0.so.1 /usr/lib/libtk8.0.so.1 
        libc.so.6 => /lib/libc.so.6 (0x4000c000)
        libtk8.0.so.1 => /usr/lib/libtk8.0.so.1 (0x400e8000)
        libtcl8.0.so.1 => /usr/lib/libtcl8.0.so.1 (0x4019c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40205000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0x402a4000)
        libm.so.6 => /lib/libm.so.6 (0x402a8000)

        libtcl8.0.so.1 => /usr/lib/libtcl8.0.so.1 (0x400ac000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40114000)
        libdl.so.2 => /lib/libdl.so.2 (0x401b3000)
        libm.so.6 => /lib/libm.so.6 (0x401b6000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401d3000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40209000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4022a000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40238000)
        libc.so.6 => /lib/libc.so.6 (0x40246000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
        libtcl8.0.so.1 => /usr/lib/libtcl8.0.so.1 (0x400bb000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40123000)
        libdl.so.2 => /lib/libdl.so.2 (0x401c2000)
        libm.so.6 => /lib/libm.so.6 (0x401c5000)
        libc.so.6 => /lib/libc.so.6 (0x401e2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

I'm not subscribed to this list, so please send me a personal reply.

thanks in advance,

Reply to: