LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-24-2004, 07:57 PM   #1
nikko
LQ Newbie
 
Registered: Oct 2003
Distribution: Knoppix,Slackware
Posts: 10

Rep: Reputation: 0
Problem with current and gtk


FYI:

The latest current (as of 12-21-2004) delivers gtk 2.2.6. After upgrading, any gtk app (Thunderbird, Firefox 1.0, konquerer) fail to load, with this error:

Code:
bash-3.00# /usr/local/firefox/firefox
/usr/local/firefox/firefox-bin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_option_context_new
I rolled back to 2.2.4, in slackware 10.0, and all is well. I use swaret, and made sure all dependencies were up to date.
 
Old 12-24-2004, 08:53 PM   #2
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Rep: Reputation: 15
Same problem here, also I am unable to extract tarballs now. Anyone else having this problem?
 
Old 12-25-2004, 11:24 AM   #3
buboleck
Member
 
Registered: Oct 2003
Location: Bulgaria
Distribution: Gentoo, Slackware-Current (custom 2.6.x kernel)
Posts: 54

Rep: Reputation: 15
Yep, me too... Also failed to compile programs that need gtk.
 
Old 12-25-2004, 12:49 PM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Check the change logs, there was a bug-fix update.
My box works fine and I'm up-to date (as of 12-22)

Wed Dec 22 19:50:57 PST 2004
a/openssl-solibs-0.9.7e-i486-2.tgz: Rebuilt.
d/automake-1.9.4-noarch-1.tgz: Upgraded to automake-1.9.4.
n/nfs-utils-1.0.7-i486-1.tgz: Upgraded to nfs-utils-1.0.7.
n/openssl-0.9.7e-i486-2.tgz: Small in patch in Makefile.org to
prevent some symlinks that point to a library that doesn't exist.
Thanks to /i. for pointing that out!

HTH
 
Old 12-28-2004, 03:20 PM   #5
slipwalker
LQ Newbie
 
Registered: Aug 2003
Location: Brazil
Distribution: Slack-current @ laptop HP Pavillion xt155, Slack-current @ PentiumII 300Mhz desktop
Posts: 11

Rep: Reputation: 0
hmmm... you should upgrade ( *manually*, i reckon swaret does NOT handle this "dependency" ) not only gtk+2,but also atk, pango and glib2 ( am i forgetting something ?!... dont think so... ) .... use "swaret --list -u" , if you like, to have a list of available upgrades... that way the gtk+2 applications ( should ) run ok.
 
Old 12-29-2004, 12:36 PM   #6
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Rep: Reputation: 15
I'm still having the same problem. I have tried rolling back GTK, removing all GTK packages and reinstalling, nothing will work. I still cannot use any GTK application (symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_option_context_new) nor can I untar anything (bus error).

Does anyone have any other ideas?

Thanks
 
Old 12-31-2004, 01:56 PM   #7
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Rep: Reputation: 15
Well, compiling ATK from source fixed firefox. The Gimp still doesn't work. I am going to compile the rest of the GTK packages, I imagine this will fix this.


Still working on the tar problem.
 
Old 01-03-2005, 12:28 PM   #8
eddiea23
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
I stay pretty up-to-date with the slackware-current branch and was also having this problem after the [Tue Dec 21 19:07:25 PST 2004] update. The problem turned out to be related to the fact that I build KDE via Konstruct instead of using the Slackware packages. Konstruct appears to build it's own version of glib2 and I have "/opt/kde3.3/lib" before "/usr/lib" in my /etc/ld.so.conf, so apps end up using the KDE version of glib2 instead of the Slackware version. Now that I know this is happening, when I get time I'd like to figure out how to prevent Konstruct from building glib2 and just use the installed version. Any ideas?
 
Old 01-03-2005, 12:36 PM   #9
eddiea23
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Oh.... I forgot to mention that rebuilding KDE with the latest Konstuct (stable) fixed the problem in my case... as it now appears to build glib2-2.6.0 My guess is that others having the same problems may also have conflicting versions of glib2.
 
Old 01-03-2005, 01:37 PM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
check /usr/lib and make sure all of the old gtk libs were remove -completely-.

if the linker finds an older lib first it will give you symbol problems
 
  


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
GTK installing from Slackware current AhYup Slackware 3 06-25-2005 11:26 AM
gtk+ 2.4.14 problem, how do I execute GTK? nautal Linux - Software 2 06-17-2005 06:09 PM
slack-current qt problem kule Slackware 4 03-31-2005 02:08 AM
how to apply the current gtk theme to root-run program staul Linux - Software 6 02-03-2005 08:27 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 05:08 PM

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

All times are GMT -5. The time now is 07:01 PM.

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