Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-12-2006, 04:49 AM
|
#1
|
Member
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77
Rep:
|
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.
|
|
|
04-12-2006, 04:51 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
It's a symlink. Check where it links to.
|
|
|
04-12-2006, 10:53 AM
|
#3
|
LQ Newbie
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5
Rep:
|
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. 
|
|
|
04-12-2006, 03:13 PM
|
#4
|
Member
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77
Original Poster
Rep:
|
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.
|
|
|
04-12-2006, 09:52 PM
|
#5
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
Did you make updates to your gtk and/or X packages?
|
|
|
04-13-2006, 01:53 PM
|
#6
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
In current dropline-gnome it should link to /usr/lib/libgtk-x11-2.0.so.0.800.16. Run dropline-installer and choose upgrade.
|
|
|
04-13-2006, 06:54 PM
|
#7
|
LQ Newbie
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5
Rep:
|
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.
|
|
|
04-14-2006, 03:39 PM
|
#8
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Run ldd program_name to check if all required libraries are found.
|
|
|
04-14-2006, 07:22 PM
|
#9
|
LQ Newbie
Registered: Oct 2004
Location: Ohio
Distribution: Slackware 10.2
Posts: 5
Rep:
|
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)
|
|
|
04-17-2006, 06:08 AM
|
#10
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
|
|
|
05-16-2006, 09:22 AM
|
#11
|
LQ Newbie
Registered: May 2006
Posts: 2
Rep:
|
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
|
|
|
05-16-2006, 12:58 PM
|
#12
|
Member
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480
Rep:
|
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.
|
|
|
05-16-2006, 01:02 PM
|
#13
|
Member
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480
Rep:
|
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.
|
|
|
05-18-2006, 09:55 AM
|
#14
|
Member
Registered: May 2006
Posts: 65
Rep:
|
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?
|
|
|
06-12-2006, 04:48 AM
|
#15
|
LQ Newbie
Registered: Jun 2006
Posts: 1
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 01:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|