Compiling Python with Tk Support
Miki Tebeka
tebeka at cs.bgu.ac.il
Mon Feb 24 02:26:36 EST 2003
Hello Darren,
> ./python: error while loading shared libraries: libtk8.4.so: cannot
> open shared object file: No such file or directory
>
> However this file does exist in /usr/local/lib/libtk8.4.so
try setting LD_LIBRARY_PATH before you run python
(e.g. $export LD_LIBRARY_PATH=/usr/local/lib)
Another solution might be recompiling tcl/tk with prefix=/usr (not the
default /usr/local).
HTH.
Miki
More information about the Python-list
mailing list