Solved.
I had to remove environment variable TCL_LIBRARY, which pointed to some non-existent installation.