Subject: | Problem in running perl Tk |
Date: | Tue, 17 Apr 2012 10:16:49 +0530 |
To: | bug-Tk [...] rt.cpan.org |
From: | Trupti Kholia <kholia.trupti [...] gmail.com> |
Dear Sir,
I am working on Linux(Fedora 16) and installed Tk module via cpan. Tk has
been installed successfully.
When I try to run the following script, I got following error msg.
perl: symbol lookup error:
/opt/ActivePerl-5.14/site/lib/auto/Tk/Event/Event.so: undefined symbol:
Perl_xs_apiversion_bootcheck
My perl script is:
#!/opt/ActivePerl-5.14/bin/perl -w
use strict;
BEGIN { push @INC,"/opt/ActivePerl-5.14/site/lib";}
use Tk;
my $mw = new MainWindow;
my $label = $mw -> Label(-text=>"Hello World") -> pack();
my $button = $mw -> Button(-text => "Quit",
-command => sub { exit })
-> pack();
MainLoop;
Kindly help me to solve this error.
Thanking you
Regards
Trupti