Thought I tested this already as failing, but the following simple solution seems to work:
- put _tkinter.so from pysolfc somewhere
- add somewhere to PYTHONPATH
- run the program using the os' python (having TCL/TK libs in LD_LIBRARY_PATH and TCL/TK LIBRARY set to the appropriate directories)
Then python loads the newer _tkinter.so and correct Tcl/Tk saving lots of MB in the PND. To make this somewhat robust, _tkinter.so should be rebuild from the python 2.6.2 source used to build the os python using the same options and flags. Unfortunately I probably won't have time to follow up on this in the near future.
- put _tkinter.so from pysolfc somewhere
- add somewhere to PYTHONPATH
- run the program using the os' python (having TCL/TK libs in LD_LIBRARY_PATH and TCL/TK LIBRARY set to the appropriate directories)
Then python loads the newer _tkinter.so and correct Tcl/Tk saving lots of MB in the PND. To make this somewhat robust, _tkinter.so should be rebuild from the python 2.6.2 source used to build the os python using the same options and flags. Unfortunately I probably won't have time to follow up on this in the near future.