Compiling Python with Tk Support

Miki Tebeka tebeka at
Mon Feb 24 08:26:36 CET 2003

Hello Darren,

> ./python: error while loading shared libraries: cannot
> open shared object file: No such file or directory
> However this file does exist in /usr/local/lib/
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).


More information about the Python-list mailing list