LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... (https://www.linuxquestions.org/questions/slackware-14/symbol-lookup-error-usr-lib-libgtk-x11-2-0-so-0-undefined-symbol-434399/)

IamI 04-12-2006 04:49 AM

symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:...
 
Code:

symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol: g_object_compat_control
I'm suddenly getting this error from a slew of different apps: gnome-terminal, Firefox (though not Epiphany), GDM, etc. I've tried reintalling all the GTK related packages to no avail.


I'm running Slack 10.2 with Dropline Gnome installed, which has heretofore been flawless.


Please assist.

Alien_Hominid 04-12-2006 04:51 AM

It's a symlink. Check where it links to.

deadlikeoscar 04-12-2006 10:53 AM

I have the exact same problem. I created a thread about this maybe a month ago but I didn't get very far. I would imagine you get the same error with Mozilla as well--I do. I have tried to find a solution to fix this because I want to learn, not just reinstall everytime I screw something up. Of course since 11 is coming out soon, if I don't find a solution before then I will just perform a clean install. I guess that's what I get for putting so much faith in Swaret, but being relatively new to Linux I really didn't expect this to happen. If nothing else, at least I learned to do all dependency checking myself.:)

IamI 04-12-2006 03:13 PM

Quote:

Originally Posted by Alien_Hominid
It's a symlink. Check where it links to.


It links to /usr/lib/libgtk-x11-2.0.so.0.800.14.

Ilgar 04-12-2006 09:52 PM

Did you make updates to your gtk and/or X packages?

Alien_Hominid 04-13-2006 01:53 PM

In current dropline-gnome it should link to /usr/lib/libgtk-x11-2.0.so.0.800.16. Run dropline-installer and choose upgrade.

deadlikeoscar 04-13-2006 06:54 PM

I can't speak for IamI; however, I did a full swaret install of everything, including KDE 3.5. Except for the fact that IamI is using droplinegnome, everything seems to be the same between us. I get the exact same error and it points to the exact same place.

Alien_Hominid 04-14-2006 03:39 PM

Run ldd program_name to check if all required libraries are found.

deadlikeoscar 04-14-2006 07:22 PM

Here's what happens when I do ldd...As far as I can tell, the libxpcom files I am missing are from the mozilla browser; however, I haven't been able to resolve them.

libmozjs.so => /usr/lib/libmozjs.so (0x40032000)
libxpcom.so => not found
libxpcom_core.so => not found
libplds4.so => /usr/lib/libplds4.so (0x400b1000)
libplc4.so => /usr/lib/libplc4.so (0x400b4000)
libnspr4.so => /usr/lib/libnspr4.so (0x400b9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x400ed000)
libdl.so.2 => /lib/libdl.so.2 (0x4013e000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40142000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40434000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x404b4000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x404ce000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x404e5000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x404ec000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x404f7000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x4052f000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40562000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40566000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x405e7000)
libm.so.6 => /lib/libm.so.6 (0x406b4000)
libsmime3.so => /usr/lib/libsmime3.so (0x406d7000)
libssl3.so => /usr/lib/libssl3.so (0x406fa000)
libnss3.so => /usr/lib/libnss3.so (0x4071c000)
libsoftokn3.so => /usr/lib/libsoftokn3.so (0x40786000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x407f3000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x407fc000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40866000)
libxpcom_compat.so => not found
libstdc++.so.5 => /usr/i486-slackware-linux/lib/libstdc++.so.5 (0x408b8000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40971000)
libc.so.6 => /lib/libc.so.6 (0x4097a000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40a93000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x40aa5000)
/lib/ld-linux.so.2 (0x40000000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x40acb000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x40ad2000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40b1a000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40b1e000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x40b26000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40b29000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40b32000)
libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x40b40000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40b46000)
libz.so.1 => /usr/lib/libz.so.1 (0x40b6b000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40b7d000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40b86000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40b9f000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40bbf000)

Alien_Hominid 04-17-2006 06:08 AM

Look here: http://slackware.it/en/pb/search.php...t=2&q=libxpcom

allanc 05-16-2006 09:22 AM

I've sussed it.

You need to delete an old version of gobject. It's part of the glib package, but for some reason removing the glib package doesn't get rid of it (maybe it's claimed by some other package too?). So delete any old copies of libgobject you have laying around and things should work again.

--AC

evilDagmar 05-16-2006 12:58 PM

There's a stale version of it that comes in through aaa_elflibs, but it's not causing this problem here for me (I just finished reinstalling everything early this morning, so I'm very sure it's all clean). Make sure you're seeing this:

Code:

dagmar@dryad:~$ ls -al /usr/lib/libgobject-2.0.*
-rwxr-xr-x  1 root root    852 2006-04-12 00:07 /usr/lib/libgobject-2.0.la*
lrwxrwxrwx  1 root root    26 2006-05-16 06:28 /usr/lib/libgobject-2.0.so -> libgobject-2.0.so.0.1000.2*
lrwxrwxrwx  1 root root    26 2006-05-16 06:28 /usr/lib/libgobject-2.0.so.0 -> libgobject-2.0.so.0.1000.2*
-rwxr-xr-x  1 root root 224088 2006-04-12 00:07 /usr/lib/libgobject-2.0.so.0.1000.2*
-rwxr-xr-x  1 root root 208628 2005-09-10 13:50 /usr/lib/libgobject-2.0.so.0.600.6*

The symlink should be pointing to the 1000.2 lib, not the 600.6 one.

evilDagmar 05-16-2006 01:02 PM

Quote:

Originally Posted by deadlikeoscar
Here's what happens when I do ldd...As far as I can tell, the libxpcom files I am missing are from the mozilla browser; however, I haven't been able to resolve them.

libmozjs.so => /usr/lib/libmozjs.so (0x40032000)
libxpcom.so => not found
libxpcom_core.so => not found

(...snip...)

This is stuff you can safely ignore. The wrapper sitting in /usr/bin that launches mozilla-bin diddles the library path a bit so that those libraries can be found when you run it. They'll be somewhere under /usr/lib/mozilla (I think) if you really want to find them.

BTW, Dropline ships Firefox and Thunderbird, not Mozilla.

Muraii 05-18-2006 09:55 AM

libatk-1.0.so.0 missing also (on fresh install)
 
G'day,

I *just* installed 10.2, and tried to launch Firefox. I received a notification that "libatk-1.0.so.0" can't be found. I didn't install everything--hoping to start with a simple, somewhat utilitarian setup--but I did install the L series, the libraries. According to

slackware.it/en/pb/search.php?v=current&t=2&q=libatk-1.0.so

I should have the right library. Was there a necessary symlink that wasn't created at install?

Joz 06-12-2006 04:48 AM

Quote:

Originally Posted by allanc
I've sussed it.

You need to delete an old version of gobject. It's part of the glib package, but for some reason removing the glib package doesn't get rid of it (maybe it's claimed by some other package too?). So delete any old copies of libgobject you have laying around and things should work again.

--AC

Correct! I suddenly had a failing xsane plugin in gimp. Running xsane at the terminal gave me the same symbol error described in this forum. Deleting an older version of libgobject (libgobject-2.0*) in /usr/local/lib and keeping the newer one in /usr/lib fixed this problem!

Definitely wanted to post this feedback as googling even part of:

"xsane: relocation error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_object_compat_control"

..brought up only FOUR pages, this one being one of them. Thanks!

DemonSlayer84 10-02-2006 10:55 PM

solution
 
I had the same problem with Firefox, XChat and a bunch of other programs after I upgraded pango and cairo to their latest versions.

The problem was that I didn't know I needed to upgrade gtk+2 and glib2 as well.

After I upgraded them, everything's working again.

Hope this helps ^_^

rr_rom_00 02-29-2008 10:54 AM

ned help here... Xmlrpc-c
 
[roderick@cl-t093-090cl ~]./exe file 8080&
[roderick@cl-t093-090cl ~]thats for the server
[roderick@cl-t093-090cl ~]./exe file2
[roderick@cl-t093-090cl ~]this 1 is the client
[roderick@cl-t093-090cl ~]when i run the server using this ./exe file 8080&
[roderick@cl-t093-090cl ~]thers and error
[roderick@cl-t093-090cl ~]./exe file: symbol lookup error: /usr/lib/libxmlrpc_server_abyss.so.3: undefined symbol: AbyssInit

evilDagmar 02-29-2008 11:10 AM

Do not hijack threads. When your problem is utterly unrelated to someone else's thread, you are supposed to start a new thread.

Necroposting, e.g, the practice of responding to a thread that died out long ago with an unrelated problem is also not useful.


All times are GMT -5. The time now is 08:22 PM.