Overview
| Artifact ID: | 1b182154cdd79b0674d3729cfcb578869ca59d17 |
|---|---|
| Ticket: | 584123ffffffffffffffffffffffffffffffffff
Patch to fully stub enable Thread packag |
| User & Date: | mdejong on 2002-07-20 05:57:37 |
Changes
- assignee changed to: "vasiljevic"
- cmimetype changed to: "text/plain"
- comment changed to:
Here is a patch that gets rids of the only undefined symbol in the Thread package. This is important since the undefined symbol makes it *very* difficult to load the Thread package into another executable that has also loaded Tcl dynamically. I ran into this problem while testing out Tcl Blend. The error message I was seeing looked like this: Exception in thread "main" tcl.lang.TclException: couldn't load file "/share/tcljava/build/thread/libthread2.4g.so": /share/tcljava/build/thread/libthread2.4g.so: undefined symbol: tclEmptyStringRep After much poking around and reading of man pages for dlopen, I found the problem. The Thread package must be self contained in order to work correctly. The package already takes care of this with a little hack for Windows. Thing is, this same hack is also needed under Linux. My patch makes that change. I am also going to include a testing program that I created to test shared lib loading using dlopen.
- foundin changed to: "None"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mdejong"
- subsystem changed to: "80. Thread Package"
- title changed to: "Patch to fully stub enable Thread packag"
- type changed to: "Patch"