Glib.so not loading in CentOS-5.3 perl 5.8.8



I use Zim, a gtk2-perl desktop wiki app I installed and ran fine under CentOS-5.2 perl 5.8.6. After update to CentOS-5.3 perl 5.8.8
I no longer find Glib.so:

$ zim
/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Gtk2/Gtk2.so: undefined symbol: gperl_register_fundamental_alias

$ perl -mGtk2 -e1
(same error)

$ perl -mGlib -mGtk2 -e1
(same error)

$ nm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Gtk2/Gtk2.so | grep gperl_register_fundamental_alias
U gperl_register_fundamental_alias

$ nm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Glib/Glib.so | grep gperl_register_fundamental_alias
00000000000213c0 T gperl_register_fundamental_alias

So how do I tell perl to load Glib.so so as to resolve the missing Glib symbols? Adding "use Glib;" to the Zim source makes no difference. The following test script also fails:

#!/usr/bin/perl
use strict;
use Glib;
use Gtk2;

print "\n";
printf "Glib %s \n", $Glib::VERSION;
printf "Gtk2 %s \n", $Gtk2::VERSION;
print "\n";

I'm thinking this a local install issue, as if it were common no CentOS-5.3 gtk-perl would work anywhere and it'd be all over the web.
So its probably  something I'm missing or have mis-configured.  FWIW, if I cd /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi then

$ perl Glib.pm
Name "Glib::Object::Property::ReadWrite::FETCH" used only once: possible typo at Glib.pm line 135.
Name "Glib::Object::Property::ReadWrite::STORE" used only once: possible typo at Glib.pm line 136.
Glib object version 1.200 does not match bootstrap parameter 1.222 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 253.

Any suggestions? Thanks!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]