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).

--Brian

--
Brian S. Bevins, PE
Computer Scientist / Mechanical Engineer
Thomas Jefferson National Accelerator Facility

    "Nothing in all the world is more dangerous than
     sincere ignorance and conscientious stupidity."
                                    --Martin Luther King Jr.







Reply via email to