Unresolved Problem with Tix-install (Tclerror :Couldn/t load file tix[version].so )
Bach
bachhx at mail.ru
Thu Feb 27 07:36:03 EST 2003
This is the answer of Drs. I.R. van der Wijk :
Hi,
I'm not on the python list, but I found your posting when googling for
the same problem. I've found a simple solution, which works for me:
[root at 1979 ivo]# python2
Python 2.1.3 (#2, Dec 1 2002, 01:50:43)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import Tix
>>> root = Tix.Tk()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.1/lib-tk/Tix.py", line 66, in __init__
self.tk.eval('package require Tix')
TclError: couldn't load file "/usr/lib/libtix": /usr/lib/libtix.so: undefined
symbol: XLowerWindow
>>>
[root at 1979 ivo]# export LD_PRELOAD=/usr/X11R6/lib/libX11.so.6
[root at 1979 ivo]# python2
Python 2.1.3 (#2, Dec 1 2002, 01:50:43)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import Tix
>>> root = Tix.Tk()
>>> root.tk.eval('package require Tix')
'8.2'
>>>
In other words, explictly preload the X11 libs.
Please forward this to the list or anyone who may find this helpfull.
Cheers
Ivo
--
Drs. I.R. van der Wijk -=-
Brouwersgracht 132 Amaze Internet Services V.O.F.
1013 HA Amsterdam, NL -=-
T +31-20-4688336 F +31-20-4688337 Linux/Web/Zope/SQL/MMBase
W http://www.amaze.nl E info at amaze.nl Network Solutions
W http://vanderwijk.info E ivo at amaze.nl Consultancy
PGP http://vanderwijk.info/pgp -=-
More information about the Python-list
mailing list