dplusplus added the comment:
I am trying to build Python 3.6.5 from source, with Tcl 8.6.8 and Tk 8.6.8, and
I get the same issue (Building on Ubuntu 18.04, tried with GCC 7.3 and 8.1 with
same results).
Run 'readelf -d` on
'build/lib.linux-x86_64-3.6/_tkinter.cpython-36m-x8
dplusplus added the comment:
Revisited this recently and found a fix. This problem seems to appear only if
Tcl and/or Tk is installed in a non-standard folder.
In the ./configure call, include `-ltcl8.6 -ltk8.6` (for Tcl/Tk 8.6.x) in the
--with-tcltk-libs specification, so the command looks