Tix cannot open /usr/share/libtix

dadapapa at gmx.net dadapapa at gmx.net
Wed Aug 17 15:55:01 EDT 2005


Hi,

I have a problem getting Tix to run:

Python 2.4.1 (#2, Aug 17 2005, 10:19:59)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tix
>>> t = Tix.Tk()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/projects/EES_dev/haroldf/lib/python2.4/lib-tk/Tix.py",
line 210, in __init__
    self.tk.eval('package require Tix')
_tkinter.TclError: couldn't load file "/usr/share/libtix8.1.8.3.so":
/usr/share/libtix8.1.8.3.so: cannot open shared object file: No such
file or directory
>>>

libtix is not in /usr/share/ but I located it in /usr/lib/

[haroldf at tlc dpd]$ locate libtix8.1.8.3.so
warning: locate: warning: database /var/lib/slocate/slocate.db' is more
than 8 days old
/usr/lib/libtix8.1.8.3.so
[haroldf at tlc dpd]$

is there any way to tell python/tkinter/tix where to look for the
library?
thanks,

- harold -




More information about the Python-list mailing list