SPUG: Perl Tk Problem

Yitzchak Scott-Thoennes sthoenna at efn.org
Tue May 17 16:56:14 PDT 2005


On Mon, May 16, 2005 at 09:01:03PM -0700, Phil Kirsch wrote:
> The first few lines of code is
> 
> #!/usr/local/bin/perl -w
> 
> use Tk;
> use Time::localtime;
> 
> # declare variables;
> # general-use vars;
> use vars qw($oldsearch $search $verbatim $ptitem $hlitem $hlgitem $socitem
>             $source $filename $word $prefterm $currterm $match $srchitem $pterm
> $socitem $version $ftime $ftm $fMon $fDay $tm $tMon $tDay);
> 
> The error message is:
> 
> Tk object version 800.025 does not match $Tk::XS_VERSION 800.022 at 
> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 2
> 53.

This indicates that you have a Tk.pm file from Tk 800.022 but
a Tk.so/Tk.dll file from Tk 800.025.

I'd blow away your Tk and reinstall.


More information about the spug-list mailing list