LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2006, 04:49 AM   #1
IamI
Member
 
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77

Rep: Reputation: 15
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.
 
Old 04-12-2006, 04:51 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
It's a symlink. Check where it links to.
 
Old 04-12-2006, 10:53 AM   #3
deadlikeoscar
LQ Newbie
 
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5

Rep: Reputation: 0
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.
 
Old 04-12-2006, 03:13 PM   #4
IamI
Member
 
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
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.
 
Old 04-12-2006, 09:52 PM   #5
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Did you make updates to your gtk and/or X packages?
 
Old 04-13-2006, 01:53 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
In current dropline-gnome it should link to /usr/lib/libgtk-x11-2.0.so.0.800.16. Run dropline-installer and choose upgrade.
 
Old 04-13-2006, 06:54 PM   #7
deadlikeoscar
LQ Newbie
 
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5

Rep: Reputation: 0
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.
 
Old 04-14-2006, 03:39 PM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Run ldd program_name to check if all required libraries are found.
 
Old 04-14-2006, 07:22 PM   #9
deadlikeoscar
LQ Newbie
 
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5

Rep: Reputation: 0
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)
 
Old 04-17-2006, 06:08 AM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Look here: http://slackware.it/en/pb/search.php...t=2&q=libxpcom
 
Old 05-16-2006, 09:22 AM   #11
allanc
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
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
 
Old 05-16-2006, 12:58 PM   #12
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
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.
 
Old 05-16-2006, 01:02 PM   #13
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
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.
 
Old 05-18-2006, 09:55 AM   #14
Muraii
Member
 
Registered: May 2006
Posts: 65

Rep: Reputation: 15
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?
 
Old 06-12-2006, 04:48 AM   #15
Joz
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Smile

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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libgtk-x11 symbol lookup error with gaim deus_machinarum Linux - Software 0 12-11-2005 04:19 PM
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 10:29 AM
aim: error while loading shared libraries: /usr/lib/libgdk-1.2.so.0: undefined symbol dr_zayus69 Linux - Software 1 12-11-2004 09:10 PM
dcgui-qt: relocation error: /usr/lib/libqt-mt.so.3: undefined symbol: glXGetConfig akqw Linux - Software 0 10-05-2003 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration