Artifacts Associated With Ticket 110b3e54dd
Ticket change [bc66e1162b] (rid 141932) by DrEdHepler on 2015-05-26 15:11:30:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I just downloaded Tcl 8.5.18 sources and compiled it on Windows 7 using minGW. I compiled a C application using the generated Tcl libraries. The application calls Tcl_Init which searches for and finds init.tcl init.tcl has the statement: "package require -exact Tcl 8.5.18" and the application fails due to 8.5.13 being reported by Tcl.
- foundin initialized to: "8.5.18"
- is_private initialized to: "0"
- login: "DrEdHepler"
- priority initialized to: "5 Medium"
- private_contact initialized to: "173e90c9b385f00c3b82580d01d450a09d619af9"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "DrEdHepler"
- subsystem initialized to: "53. Configure and Build Tools"
- title initialized to: "Windows Tcl 8.5.18 reports version as 8.5.13"
- type initialized to: "Bug"
Ticket change [d6cddc3ab6] (rid 141933) by jan.nijtmans on 2015-05-26 15:30:43:
- closedate changed to: "2457169.14634145"
- closer changed to: "jan.nijtmans"
- icomment:
no-where in Tcl is the version (8.5.13) hardcoded in the sources. What probably happened is that you have an older version of Tcl installed on your machine, and the $PATH variable contains the directory where the older tcl85.dll is found before the one you compiled. The applications just finds the older dll. Solution: copy the tcl86.dll you built to the same directory as where your application is. This is - for sure - not a bug in Tcl, but a bug in your environment. That's what Tcl is is telling you (as it should)
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [b5dffe2e40] (rid 141934) by sebres on 2015-05-26 15:43:32:
- closer changed to: "nobody"
- icomment:
I believe your application uses "old" version of init.tcl, will be found while calling Tcl_Init... Paths to search init.tcl are [app]/lib/tcl8.5, $::env(TCL_LIBRARY), etc. Simple way to test this case with init.tcl would be to copy tclsh.exe to your app directory (where is located your app.exe) and after start it and puts $::errorInfo to track an error. In other words, either your tcl85.dll does not usable with init.tcl will be found (control PATH etc.), or in your environment is defined a variable TCL_LIBRARY which points to library from another installation of tcl, so reset it before start your app or set it in app self.
- login: "sebres"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
Ticket change [70c9eea0e3] (rid 141935) by sebres on 2015-05-26 16:07:41:
- closedate changed to: "2457169.17200435"
- closer changed to: "sebres"
- login: "sebres"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"