PDA

View Full Version : [xubuntu] Glib problems after upgrade



fenixk19
October 30th, 2009, 01:44 AM
Hello. I've upgraded to karmic, but i got very strange problem. I haven't seen it anywhere else. Lots of applications(even X server) don't start, because of broken libgobject*.so. For example, here is from kdm.log:


/usr/lib/kde4/libexec/kdm_greet: symbol lookup error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_array_ref

And most of apps points to this g_array_ref. I downgraded package libglib2.0-0 to jaunty version, and it works better, but points to some other errors in some apps. At least, X works. But with such replacement, i can't use dpkg, because it dislikes version of glib. I'm sure it is ubuntu bug, but i don't understand, why it is only me, who have it.

I'm using x64 version.

fenixk19
October 30th, 2009, 01:48 PM
Up this topic. I need help!

fenixk19
October 30th, 2009, 04:38 PM
Up

fenixk19
October 30th, 2009, 11:23 PM
Up

AwesomeTux
November 3rd, 2009, 11:31 AM
I am also experiencing this, anyone figure it out yet?

fenixk19
November 3rd, 2009, 02:42 PM
I've fixed problem :)
There was an obsolete library, that is loading instead of new one. For me it was something like:
/usr/lib/libglib-2.0.so.0.1502.0

Try to do


ls /usr/lib/libglib* /usr/lib/libgobject*

to see what you have.

AwesomeTux
November 4th, 2009, 04:05 AM
Here's what I get...


/usr/lib/libglib-2.0.a
/usr/lib/libglib-2.0.la
/usr/lib/libglib-2.0.so
/usr/lib/libglib-2.0.so.0
/usr/lib/libglib-2.0.so.0.2000.4
/usr/lib/libglib-2.0.so.0.2000.5
/usr/lib/libglibmm-2.4.so.1
/usr/lib/libglibmm-2.4.so.1.2.0
/usr/lib/libglibmm_generate_extra_defs-2.4.so.1
/usr/lib/libglibmm_generate_extra_defs-2.4.so.1.2.0
/usr/lib/libgobject-2.0.a
/usr/lib/libgobject-2.0.la
/usr/lib/libgobject-2.0.so
/usr/lib/libgobject-2.0.so.0
/usr/lib/libgobject-2.0.so.0.2000.4
/usr/lib/libgobject-2.0.so.0.2000.5
/usr/lib/libgobject-2.0.so.0.2200.2

fenixk19
November 4th, 2009, 12:55 PM
Those files with 2000 in the name seems to be old trash. Try to remove them.


sudo rm /usr/lib/libgobject-2.0.so.0.2000.4 /usr/lib/libgobject-2.0.so.0.2000.5 /usr/lib/libglib-2.0.so.0.2000.4 /usr/lib/libglib-2.0.so.0.2000.5
Maybe it is better to backup them, but i think it is not needed. And maybe it is better to reinstall libglib2.0-0 package, but it not necessary too.

AwesomeTux
November 5th, 2009, 10:49 AM
Those files with 2000 in the name seems to be old trash. Try to remove them.


sudo rm /usr/lib/libgobject-2.0.so.0.2000.4 /usr/lib/libgobject-2.0.so.0.2000.5 /usr/lib/libglib-2.0.so.0.2000.4 /usr/lib/libglib-2.0.so.0.2000.5
Maybe it is better to backup them, but i think it is not needed. And maybe it is better to reinstall libglib2.0-0 package, but it not necessary too.

But '/usr/lib/libgobject-2.0.so' and '/usr/lib/libgobject-2.0.so.0' already link to '/usr/lib/libgobject-2.0.so.0.2200.2', and 'libgobject-2.0.so.0' is the only library file that is loaded.

So it shouldn't matter if the old versions are there, right?

fenixk19
November 6th, 2009, 01:31 AM
I don't know. The best way is to check it, by removing this files. I'm just telling, what helped me.

AwesomeTux
November 6th, 2009, 12:31 PM
Fixed it!

For some reason 'libglib-2.0.so.0.2200.2' is installed in /lib in Ubuntu 9.10? So I linked '/usr/lib/libglib-2.0.so.0' to '/lib/libglib-2.0.so.0' which links to '/lib/libglib-2.0.so.0.2200.2'

And everything works now! ):P

fenixk19
November 6th, 2009, 02:40 PM
It's a library mess. Congratulations.

mwq27
November 9th, 2009, 05:05 AM
How did you link the files together to get it to work?