Linux build failure when enabling tkinter

Mark Ardis maa at research.bell-labs.com
Wed May 31 12:31:35 EDT 2000


I am trying to build Python 1.5.2 on a Linux system (Mandrake 7.0).
I followed the directions in the Modules/Setup file for enabling
tkinter, but I still get errors when I run make test:

  PYTHONPATH= ./python ./Lib/test/regrtest.py 
  ./python: error in loading shared libraries: libtk8.3.so: cannot open
shared object file:    No such file or directory
  make: [test] Error 127 (ignored)

Here is what I used in Modules/Setup:

  TKPATH=:lib-tk
  _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
  -I/usr/local/include \
  -I/usr/X11R6/include/ \
  -L/usr/local/lib \
  -ltk8.3 -ltcl8.3 \
  -L/usr/X11R6/lib \
  -lX11

I verified that libtk8.3.so is in /usr/local/lib/
I have recently installed Tcl/Tk 8.3 on my Linux system (HP Kayak XU),
and it
seems fine.

Am I missing something in the install?

Thanks,
Mark Ardis



More information about the Python-list mailing list