Tix cannot open /usr/share/libtix

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dadapapa@gmx.net

    #1

    Tix cannot open /usr/share/libtix

    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.[color=blue][color=green][color=darkred]
    >>> import Tix
    >>> t = Tix.Tk()[/color][/color][/color]
    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('p ackage require Tix')
    _tkinter.TclErr or: couldn't load file "/usr/share/libtix8.1.8.3.s o":
    /usr/share/libtix8.1.8.3.s o: cannot open shared object file: No such
    file or directory[color=blue][color=green][color=darkred]
    >>>[/color][/color][/color]

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

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

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

    - harold -

  • Martin v. Löwis

    #2
    Re: Tix cannot open /usr/share/libtix

    dadapapa@gmx.ne t wrote:[color=blue]
    > is there any way to tell python/tkinter/tix where to look for the
    > library?[/color]

    Try (un)setting TIX_LIBRARY.

    Regards,
    Martin

    Comment

    Working...