Setting up Tix

klappnase klappnase at web.de
Tue Aug 31 19:50:43 EDT 2004


bncarper at cs.com (Bob C) wrote in message news:<726ee98e.0408240250.6cd06aa2 at posting.google.com>...
> I get the following message when tryin to setup Tix on Linux rh7.3:
> 
> >>> import Tix
> >>> root = Tix.Tk()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/local/lib/python2.3/lib-tk/Tix.py", line 210, in __init__
>     self.tk.eval('package require Tix')
> _tkinter.TclError: couldn't load file "/usr/lib/libtix":
> /usr/lib/libtix.so: cannot open shared object file: No such file or
> directory
> >>> 
> 
> I have libtix8.1.8.4.a and libtix8.1.8.4.so in /usr/local/lib.  I
> guess I'm not sure how to set the varibles to correctly point at the
> /usr/local directory.
> 
> Bob

Hi Bob,

have you tried to simply use a symbolic link:

ln -s /usr/local/lib/libtix8.1.8.4.so /usr/lib/libtix.so

Michael



More information about the Python-list mailing list