[Tkinter-discuss] Tkinter fails - tcl/tk installation in Python fails

jepler@unpythonic.net jepler at unpythonic.net
Wed Oct 26 21:22:24 CEST 2005

On Wed, Oct 26, 2005 at 12:15:15PM -0700, Alex Luso wrote:
> fails. This time is says that:
> ----------
> ./python: error while loading shared libraries:
> libtk8.4.so: cannot open shared object file: No such
> file or directory
> make: *** [sharedmods] Error 127

This is because /usr/local/lib isn't in the dynamic linker's path.  One easy
way to put it there is putting 'LD_LIBRARY_PATH=/usr/local/lib' in your

>   What on earth am I doing wrong? And why doesn't the
> default installation of Python that comes with FC4
> come with Tcl/Tk installed, as advertised?

tkinter is packaged as part of fedora but seems not to be installed by default.
"yum install tkinter" should do the trick.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20051026/dfb8bb8c/attachment.pgp

More information about the Tkinter-discuss mailing list