_tkinter installation problem with Python 2.3b1

Dan Bishop danb_83 at yahoo.com
Mon May 5 01:31:18 EDT 2003


I'm installing Python 2.3b1 on my Linux box, by compiling from source
(with gcc 2.95.2 and glibc 2.2.5).  Everything seems to work fine
except the _tkinter module.

building '_tkinter' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1
-I/usr/X11R6/include -I. -I/home/dan/.Python-2.3b1/./Include
-I/usr/local/include -I/home/dan/.Python-2.3b1/Include
-I/home/dan/.Python-2.3b1 -c
/home/dan/.Python-2.3b1/Modules/_tkinter.c -o
build/temp.linux-i686-2.3/_tkinter.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1
-I/usr/X11R6/include -I. -I/home/dan/.Python-2.3b1/./Include
-I/usr/local/include -I/home/dan/.Python-2.3b1/Include
-I/home/dan/.Python-2.3b1 -c
/home/dan/.Python-2.3b1/Modules/tkappinit.c -o
build/temp.linux-i686-2.3/tkappinit.o
gcc -shared build/temp.linux-i686-2.3/_tkinter.o
build/temp.linux-i686-2.3/tkappinit.o -L/usr/X11R6/lib
-L/usr/local/lib -ltk8.4 -ltcl8.4 -lX11 -o
build/lib.linux-i686-2.3/_tkinter.so
*** WARNING: renaming "_tkinter" since importing it failed:
libtk8.4.so: cannot
open shared object file: No such file or directory
running build_scripts

But the file /usr/local/lib/libtk8.4.so does exist.  What's going on?




More information about the Python-list mailing list