Josh Cullum added the comment:
Hi Ned,
I've built a new machine, tried the build again using Tk and Tcl shared
libraries, built Python-3.6.3 and it's still not worked.
The Python/3.6.3-foss-2017b/lib/python3.6/tkinter folder gets created and
populated with several files, but wh
Josh Cullum added the comment:
Hi Ned,
Tried that but unfortunately it didn't work. It still produces an error within
the make install function which then re-removes the module - it does however
create a folder called tkinter.
--
___
P
Josh Cullum added the comment:
LD_LIBRARY_PATH includes /tools/apps/tk/8.6.7/lib/:/tools/apps/tcl/8.6.7/lib/
and several other library paths that are required.
Why would I be getting an undefined symbol error on this module?
_tkinter.cpython-36m-x86_64-linux-gnu.so: undefined symbol
Josh Cullum added the comment:
Interestingly, I get the error with Python 3.6.3 build from source, where I
include the path to the g++ binary.
Python builds without the g++ option, but then _Tkinter fails to build - see
issue31817
--
nosy: +jpc2350
Josh Cullum added the comment:
Hi Ned,
Please see the make logs for _tkinter below:
building '_tkinter' extension
gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result
-Wno-unused-parameter -W
Josh Cullum added the comment:
Hi Ned,
LD_LIBRARY_PATH has been set with the lib paths for both, like I said the
module itself builds, I’ll add the module build logs later but the module
try’s to get loaded before the tests which unfortunately gives the error
undefined symbol
New submission from Josh Cullum :
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 th