This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jpc2350
Recipients jpc2350
Date 2017-10-19.10:07:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508407674.96.0.213398074469.issue31817@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Guys,

I'm trying to build Python 3.6.1 and 3.6.3, with both, .configure / make / make install work correctly as they should, however, trying to import _tkinter doesn't work.

Going back to the compilation, I get the following error in the make log:

*** WARNING: renaming "_tkinter" since importing it failed: build/lib.linux-x86_64-3.6/_tkinter.cpython-36m-x86_64-linux-gnu.so: undefined symbol: Tcl_GetCharLength

Following modules built successfully but were removed because they could not be imported:
_tkinter


Any Idea's on how to fix the undefined symbol error? This happens with both Tcl/Tk 8.6.6 and 8.6.7.

The following is the configure options:
--prefix=/tools/apps/python/3.6.1 --with-tcltk-includes='-I/tools/apps/Tcl/8.6.7/include -I/tools/apps/Tk/8.6.7/include' --with-tcltk-libs='-L/tools/apps/Tcl/8.6.7/lib -L/tools/apps/Tk/8.6.7/lib' --enable-optimizations --enable-shared
History
Date User Action Args
2017-10-19 10:07:55jpc2350setrecipients: + jpc2350
2017-10-19 10:07:54jpc2350setmessageid: <1508407674.96.0.213398074469.issue31817@psf.upfronthosting.co.za>
2017-10-19 10:07:54jpc2350linkissue31817 messages
2017-10-19 10:07:54jpc2350create