Re: Glib.so not loading in CentOS-5.3 perl 5.8.8



Thanks for such a prompt reply. I get my perl-Gtk2, perl-Glib, and friends from rpmforge. Apparently they got ahead of the Glib version on CentOS5, which is Glib2-1.12.3. I could not make perl-Pango-1.220 because it complains

$ perl Makefile.PL PREFIX=/usr/local
Pre-requisites not found:
Glib version 1.220 required--this is only version 1.200 at /usr/lib/perl5/5.8.8/Exporter/Heavy.pm line 121.
BEGIN failed--compilation aborted at (eval 9) line 1.

Please install them manually.


Oddly, perl-Glib-1.222 made, tested, and installed just fine from source.

My solution was to "yum erase perl-Gtk2 perl-Glib", edit yum.conf
"installonlypkgs = perl perl-Glib perl-Gtk2"

I then downloaded perl-Glib-1.200 and perI-Gtk2-1.183 rpms from rpmforge and "yum install" them both.
Zim works again, so I'm happy at least for now.

Thanks again for your help!
Ed Leaver

-----------------------------------------------------------------------------------------------------
On Fri, 2009-07-17 at 13:37 -0700, Brian Manning wrote:
On Fri, Jul 17, 2009 at 1:18 PM, Ed Leaver<ewleaver comcast net> wrote:
> 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:

[snippage]

> $ 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!

When you compile Gtk2/Glib, shared library objects get created,
they're basically the 'glue' between GTK and Perl.  Your shared
library objects are different versions from the versions your Perl
modules require, hence the above error.

I'm not sure how you installed Gtk2/Glib and friends, if you compiled
them yourself or are using the vendor or someone else's YUM repo.  If
you compiled them yourself or used an external repo, you may want to
try recompiling everything yourself and see if that fixes the
mismatches.  Recompiling would probably fix the problems with missing
symbols in the Glib.so/Gtk2.so libraries as well.  Using the CPAN
shell makes updating the Gtk2 stack (aka recompiling) a breeze.

Thanks,

Brian


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