The exact same problem as reported in Bug#: 29371. Using tix-8.2.0-r1 from within python, when one tries to create a new window it fails complaining of an unresolved symbol (XLowerWindow). Reproducible: Always Steps to Reproduce: 1.emerge tix 2.python 3.>>> import Tix >>> from Tkconstants import * >>> root = Tix.Tk() Actual Results: Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/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/libtix8.2.so": /usr/lib/libtix8.2.so: undefined symbol: XLowerWindow Expected Results: no error when emerging tix, there is the following error: * Fixing the Makefile...... sed:can't read /var/tmp/portage/tix-8.2.0-r1/work/tix8.2.0/unix/unix/Makefile: No such file or directory [ !! ] How to Fix: Change the tix-8.2.0-r1.ebuild: after the lines: ebegin "Fixing the Makefile..." sed -e 's:TK_LIBS =:TK_LIBS = -L/usr/X11R6/lib -lX11:' \ -e 's:^\(SHLIBS_LD_LIBS.*\):\1 ${TK_LIBS}:' \ replace: -i ${S}/unix/Makefile with: -i ${S}/Makefile This solves the problem.
Dunno why I ended up with this. All I ever did was add it to our tree to be kind to somebody, and now I'm stuck with it, and I don't even use Tk for anything, even though my mail address incidentally ends with 'tk', but that's just because of my real name. Anyway, I think I'm ranting again..... What I wanted to say was: Fixed. Available as in dev-tcltk/tix-8.2.0-r2 on ~ppc, ~sparc and ~x86.
There is a typo in the fix applied to tix-8.2.0-r2.ebuild which means that this bug is not corrected. The line reading -e 's:^\(SHLIBS_LD_LIBS.*\):\1 ${TK_LIBS}:' \ should in fact be -e 's:^\(SHLIB_LD_LIBS.*\):\1 ${TK_LIBS}:' \ this variable is as referred to in bug 29371. Making this change works for me on both ~x86 and ~amd64