1832928 Members
2431 Online
110048 Solutions
New Discussion

tcl/tk question

 
Madhu Kangara
Frequent Advisor

tcl/tk question

Today I installed tcltk 8.4.5 from HP depot and was trying test it by typing wish from a CDE GUI
I am getting error message
Application initialization failed: invalid command name "tcl_findLibrary"
even though I could see a popup wish window

Looks like I need to set some library path, but no idea what is the variable name
I tried TCL_LIBRARY, TK_LIBRARY, TCL_LIB_PATH etc

Any tips ?
5 REPLIES 5
Suresh Patoria
Super Advisor

Re: tcl/tk question

Hi,
i guess it could be /opt/tcltk/lib

Thanx
Umapathy S
Honored Contributor

Re: tcl/tk question

This kind of error appears whenever there is an incomptability with the library versions. Make sure that both TCL and TK are of the same versions.

If not, check TCL_LIBRARY is exported or not. If exported then unset that and try again.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Madhu Kangara
Frequent Advisor

Re: tcl/tk question

I already told you that I have tried all combinations like TCL_LIBRARY, TK_LIBRARY etc pointing to /usr/local/lib/tcltk and exporting it

version of tcltk is 8.4.4
I also tried 8.4.5

and I don't think it is a version mismatch issue as I have installed only tcl and tk as a single bundle from HP depot
Can anyone try installing tcltk and try this ?
Madhu Kangara
Frequent Advisor

Re: tcl/tk question

I fixed the issue by downloading Tcl from Activestate
here is the link
http://www.activestate.com/Products/ActiveTcl/?_x=1
Rick Schopp
Occasional Contributor

Re: tcl/tk question

Just fyi. This morning I ran into the identical problem after installing 8.4.5. I used your solution too. The Active version works fine.