> Jeff Hobbs wrote: > > Brian Bevins wrote: > >> So Tcl.so wants to implicitly load the same libtcl8.4.so as our > >> tclsh. Somehow tclsh is making TclpRealloc available to BLT, but > >> Tcl.so doesn't unless I explicitly load libtcl8.4.so after it. > > > > OK, and the solution is then to use a --usestubs build Tcl.so then, > > correct? This really should be the default. > > Yes, --usestubs plus explicitly specifying LIB_RUNTIME_DIR makes > everything work as expected. --usestubs does not appear to be the > default. Line 16 of Makefile.PL: > > my $usestubs = 0; > > And --usestubs by itself causes the use of some sort of local copy of > tcl-core. Everything I have tried besides BLT seems to work with the > defaults (without --usestubs).
I'm glad the issue is resolved, just for the records, BLT on Windows w/o stubs is fine. I guess we'll include a fix based on your experience for Tcl with BLT on linux. Also, I think I'll package some 'snit' version for Tcl::Tk and release both packages within may be a week, so you'll not have trouble with downgrading to 0.92 version. BR, Vadim.