WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tkinter  (Read 3178 times)

Offline silverbird

  • Newbie
  • *
  • Posts: 2
Tkinter
« on: October 18, 2010, 09:03:53 AM »
I have just downloaded TC 3.2 and installed python (2.7)
I see tcl and tk are also installed but when I import Tkinter (or _tkinter) I get missing libXss.so.1 library.

Having read the topic on 2.7 it should work ok.

I am new to TC though previously I did install it to hard drive successfully. This time I plan to leave it on CD and use the /tce folder on my hard drive as suggested.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Tkinter
« Reply #1 on: October 18, 2010, 09:13:06 AM »
I just added Xorg-7.5-lib.tcz to the tk.tcz.dep file.  Should work now.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Tkinter
« Reply #2 on: October 18, 2010, 06:57:41 PM »
That might not be all:
Code: [Select]
tc@box:~$ ldd /tmp/tcloop/tk/usr/local/lib/libtk8.5.so | grep 'not found'
        libXft.so.2 => not found
        libfontconfig.so.1 => not found

So I guess 'tk.tcz.dep' also needs the addition of 'libxft.tcz', whilst 'fontconfig.tcz' would be included via 'libxft.tcz.dep'.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Tkinter
« Reply #3 on: October 18, 2010, 07:11:26 PM »
Added libxft.tcz to dep file.