LinuxQuestions.org
Review your favorite Linux distribution.
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 11-06-2008, 04:18 PM   #1
kixx
LQ Newbie
 
Registered: Mar 2008
Location: Poughkeepsie, NY
Distribution: slackware
Posts: 12

Rep: Reputation: 0
GTK apps are not starting after GTK upgrade


GIMP stopped working after may latest update with slackware-current (this was actually quite a while ago) and I never did anything about it until now. I needed to use GIMP today, and I assumed that the problem was that I needed to update my GTK installation. I used pkgtool to remove the old gtk installation and installed the latest( gtk+2_2.12.9 i486 -1 although it looks like 2.12.12 is now available).

After doing the remove/installpkg I started x back up and now Firefox, GVim, and Gimp are all stuck (all gtk apps).

Mozilla's xulrunner is giving me this error:

xulrunner-bin: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_once_init_enter_impl

Is there any possibility that pkgtool removed a dependency, and if so, is there any way I can find out what it is?

Thanks.
 
Old 11-06-2008, 04:46 PM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
pkgtool does not remove (or install) dependencies.
That's the big difference between Slackware and other distros, where you're not in control...

It is never a good idea to install (or remove, for that matter) just some packages from -current.

The -current branch is for testing and for the adventurous (like me).

I have -current and GIMP working fine.
What exactly happened to GIMP that makes you think there is a problem with the GTK libraries?
 
Old 11-06-2008, 04:51 PM   #3
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,872

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
Were you using 12.1's GTK package up until then?

If you were, just use upgradepkg to reinstall it (upgradepkg also downgrades). It won't solve your problems with Gimp, but everything else will work again.

Last edited by dugan; 11-06-2008 at 04:53 PM.
 
Old 11-06-2008, 05:06 PM   #4
kixx
LQ Newbie
 
Registered: Mar 2008
Location: Poughkeepsie, NY
Distribution: slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Also, I use KDE as my desktop environment.

I was looking through slackware current and realized that I did not have the latest version of GIMP, and decided to give it a shot. I used pkgtool to remove my old version before installing the new version with installpkg. After the installation, GIMP simply would not start. I assumed this was because GTK was also out of date, so instead of messing around with it, I tried to revert to my old version of the GIMP with another remove package, installpkg sequence. GIMP still would not start, and since I didn't really need to use it at the time I didn't bother to mess with it any further.

Now I need it, so I decided to go ahead and do an update of GTK. I used pkgtool to remove GTK and then installpkg to install the latest version from slackware-current.

When I started KDE back up, none of my GTK apps will start.

All of these apps are giving me this error when I try to start them:

/usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_once_init_enter_impl

Where can I find lib gdk, assuming that is what I need? I could not find it in slackware/l.

(I thought slackware-current was pretty stable - guess I'll stick with the numbered versions from now on)
 
Old 11-06-2008, 05:23 PM   #5
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
Ok, this is basic Slackware stuff.

It is not recommended to mix and match packages from -current and -stable. The -stable branch (i.e. a numbered release, like 12.1) is, well, stable. Once a -stable release is made, the packages are generally not updated except for security fixes.

OTOH, the -current branch is where active development occurs. The -current branch may work on any given day or it may not work on any given day. You do not "update" -stable packages from -current. Instead, you update -stable packages from the /patches directory of a -stable release. If you wish, you can upgrade (not update, but upgrade) your -stable machine and run -current, but you do so at your own risk of breakage. There many ways to upgrade your entire machine from -stable to -current, and searching this forum will provide you with some help.

Short answer: stick with 12.1 and apply security updates etc from the /patches directory.
 
Old 11-06-2008, 05:31 PM   #6
kixx
LQ Newbie
 
Registered: Mar 2008
Location: Poughkeepsie, NY
Distribution: slackware
Posts: 12

Original Poster
Rep: Reputation: 0
OK, thanks all.

Mixing stuff from -current with 12.0 and 12.1 is the root of the whole problem I was having.

It's all fixed now. I took the suggestion of using updatepkg to revert back to the GTK and GIMP packages in 12.0 (my system is current with 12.0 and the associated patches, not 12.1 yet).

It looks like I can avoid doing this again by using updatepkg with 12.0/patches instead of getting the latest and greatest from -current.

thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gtk apps broken after upgrade to ubuntu 8.04 wyzgreg Ubuntu 3 05-04-2008 03:48 PM
GTK apps display chinese, QT apps dont zhangmaike Linux - Desktop 0 07-04-2007 12:57 AM
GTK apps don't use correct colours after upgrade hand of fate Linux - Software 0 07-25-2005 08:21 AM
Upgrade to Gtk 2.6 but keep my old Gtk 2.0? rylan76 Linux - Software 6 06-13-2005 01:29 AM
GTK error when starting gtk-chtheme Dswissmiss Linux - Software 1 10-02-2004 12:53 AM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration