Tix problem solved (Red Hat 7.x -> XLowerWindow undefined)

Ben Caradoc-Davies ben at wintersun.org
Tue Feb 11 18:03:59 EST 2003


On 11 Feb 2003 09:00:45 -0800, Michele Simionato <mis6 at pitt.edu> wrote:
> I have tried your suggestion for Python 2.3a1
> (under Red Hat 7.2). Doesn't work. Same error. :-(

 1. Did you do a clean install (using make, not my stupid "python setup.py
    install")? I noticed that without the make, _tkinter.so gets installed into
    site-packages, not into lib-dynload, and the old _tkinter.so is found
    first. You have to move it by hand into lib-dynload. Sorry for the
    confusion.

 2. Was _tkinter.so linked against libtix.so? Use (assuming
    --prefix=/usr/local)

        find /usr/local/lib/python2.3 -name _tkinter.so
    
    to see how many _tkinter.so you have ;-) then
 
        find /usr/local/lib/python2.3 -name _tkinter.so -exec ldd {} \;
    
    to see if it is linked against libtix.so. You may have an old _tkinter.so
    in lib-dynload.

The fix works with Red Hat 7.2 + Python 2.2c1, and Red Hat 7.0 + lots of
updates + Python 2.2.1.

-- 
Ben Caradoc-Davies <ben at wintersun.org>
http://wintersun.org/
Imprisonment on arrival is the authentic Australian immigration experience.




More information about the Python-list mailing list