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

Bug#56479: python-tk doesn't work with tkstep8.0 (on PowerPC)



Package: python-tk
Version: 1.5.2-6

Tkinter doesn't seem to work properly with tkstep8.0, on a PowerPC
machine:


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


When running fetchmailconf, which uses tkinter:


rdreyer:~$ LD_PRELOAD=/usr/lib/libtk8.0.so.1 fetchmailconf


works as expected, i.e. fetchmailconf runs, but not:


rdreyer:~$ LD_PRELOAD=/usr/lib/libtkstep8.0.so.1 fetchmailconf
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


which leads me to believe that the problem lies with tkstep, not tk.
I observed the same phenomenon under LinuxPPC, a Red Hat distribution
for PowerPC machines.

Relevant packages:

ii  python-base    1.5.2-6        An interactive object-oriented scripting lan
ii  python-tk      1.5.2-6        Writing Tk applications with Python (Tkinter
ii  tk8.0          8.0.5-6        The Tk toolkit for TCL and X11 v8.0 - Run-Ti
ii  tkstep8.0      8.0p2-3.4      The NEXTSTEP(tm)-like version of the Tk tool
ii  fetchmail      5.2.3-1        POP2/3, APOP, IMAP mail gatherer/forwarder

I'm using Debian 2.2 on a PowerPac, kernel:

Linux bourbaki 2.2.14 #1 Wed Jan 26 00:43:17 PST 2000 ppc unknown

and libc 2.1.2-5.



Reply to: