Unresolved Problem with Tix-install (Tclerror :Couldn/t load file tix[version].so )

Michele Simionato mis6 at pitt.edu
Thu Dec 12 12:33:58 EST 2002


bachhx at mail.ru (Bach) wrote in message news:<34e4328e.0212120235.6efb02b4 at posting.google.com>...
> Original message
> I am trying to install Tix on a linux machine. I don't have access
> privilege to write above my user directory.
> There is already a python1.5 on the machine.
> I installed  tcl8.3, tk8.3, tix8.1 and python2.2 with  --prefix =
> /usr/people/erict/bin
> It was 'succefull'
> I included the following line in my .cshrc:
> setenv PYTHONHOME /usr/people/erict/bin
> setenv PYTHONPATH /usr/people/erict/bin/lib
> setenv TIX_LIBRARY /usr/people/erict/bin/lib
> setenv TCL_LIBRARY /usr/people/erict/bin/lib
> setenv TK_LIBRARY /usr/people/erict/bin/lib
> 
> now here what I am getting:
> erict_fairlop > python
> Python 2.2.1 (#3, Apr 25 2002, 15:25:49)
> [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Tix
> >>> root = Tix.Tk()
> /usr/people/erict/bin/lib/libtix8.1.8.3.so     ## print out that I had
> to see what it was trying to load
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/people/erict/bin/lib/python2.2/lib-tk/Tix.py", line 213, in
> __init__
>     self.tk.eval('package require Tix')
> TclError: couldn't load file "/usr/lib/libtix": /usr/lib/libtix.so:
> undefined symbol: XLowerWindow
> >>>
> 
> 
> Any Idea
> Thanks

It seems everybody trying to use Tix on RedHat gets in this trouble.
I never understood what is its origin and how to fix it. Nevertheless, I
discovered that everything works fine if I use python 2.2 instead of 2.2.1 
or 2.2.2 (only RedHat knows why).
I hope somebody will be more helpful than me. Cheers,



More information about the Python-list mailing list