Michele Joyce wrote:
I'm trying to use the Tcl::Tk module on RHat linux (rhel-4-0-ia32)
My version of perl: 5.8.2
My version of tcl: 8.4 (threads-enabled)
I tried to install and built the latest versions of the Tcl and Tcl::Tk
modules, but Tcl::Tk failed it's test. Apparently it needs perl5.8.3.
Going back to Tcl::Tk version 0.91 seemed to build and install fine.
I assume the error that occurred was different than the one below? If
there is a regression, please let us know.
Code:
my $m = Tcl::Tk::MainWindow->new();
my $int = $m->interp;
$int->Eval('package require BLT; blt::tabnotebook .bltnbook1');
ERROR: couldn't load file "/usr/csite/pubtools/tcl/8.4/lib/libBLT24.so":
/usr/csite/pubtools/tcl/8.4/lib/libBLT24.so: undefined symbol: TclpRealloc
Is this due to the older version of the perl or Tcl::Tk module? Have I
built something wrong? Am I using it wrong? Any help would be appreciated.
Can you start up an associated Tcl shell (tclsh) corresponding to the
one you are loading via Tcl::Tk and do the 'package require BLT'? It
appears that it may just be a BLT issue. Was that compiled against the
same Tcl?
Jeff