LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2008, 10:08 AM   #1
Jack of Spades
LQ Newbie
 
Registered: Apr 2006
Location: Orlando, Florida
Distribution: Kubuntu 8.04
Posts: 24

Rep: Reputation: 15
GTK application issue


Hey guys,

I recently upgraded to Kubuntu 8.04 from 7.10. In a fit of retardation I seem to have messed up my system. Whenever I try to use a GTK+ application, such as firefox 3.0, thunderbird, or firestarter, I get the following error when running from the terminal:

Code:
/usr/lib/thunderbird/thunderbird-bin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_dpgettext
Can anyone help an idiot our here?
 
Old 05-02-2008, 07:43 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Which version of GTK+ are you using and which version was firefox, et. al. built against. GTK+ is backwards compatible, but not forwards compatible. So if your upgrade installed a new firefox that was built against GTK+-2.12.9 (where g_dpgettext is defined) and you have GTK+-2.12.0 (where g_dpgettext is not defined) installed on your system, then you'd have problems.

Note: the GTK+ version #'s are just for example.
 
Old 05-06-2008, 08:25 AM   #3
Jack of Spades
LQ Newbie
 
Registered: Apr 2006
Location: Orlando, Florida
Distribution: Kubuntu 8.04
Posts: 24

Original Poster
Rep: Reputation: 15
OK, here are the packages I have when I re-installed firefox, thunderbird, et-all.

Code:
opalt@opalt:~$ dpkg --get-selections | grep gtk
ettercap-gtk                                    install
gtk-qt-engine                                   install
libgpod3-nogtk                                  install
libgtk1.2                                       install
libgtk1.2-common                                install
libgtk2-gladexml-perl                           install
libgtk2-perl                                    install
libgtk2-ruby                                    install
libgtk2-ruby1.8                                 install
libgtk2.0-0                                     install
libgtk2.0-bin                                   install
libgtk2.0-common                                install
libgtk2.0-dev                                   install
libgtkglext1                                    install
libgtkhtml2-0                                   install
libgtksourceview-common                         install
libgtksourceview1.0-0                           install
libgtkspell0                                    install
libwxgtk2.4-1                                   deinstall
libwxgtk2.6-0                                   install
libwxgtk2.8-0                                   install
ndisgtk                                         install
python-gtk2                                     install
Do I need to re-compile gtk? If so, how would I go about doing that?
 
Old 05-17-2008, 12:04 PM   #4
RadonPL
Member
 
Registered: Dec 2005
Location: Gdansk, Poland
Distribution: openSUSE 11.0, Ubuntu 8.04
Posts: 37

Rep: Reputation: 15
I've got the same problem with libgtk-x11-2.0.so.0 and Firefox 3 RC1.

I've updated and reinstalled all possible gtk and gtk-devel files from the openSUSE repositories and still have this error. OpenSUSE 10.3-AMD64
 
Old 05-19-2008, 08:41 AM   #5
Jack of Spades
LQ Newbie
 
Registered: Apr 2006
Location: Orlando, Florida
Distribution: Kubuntu 8.04
Posts: 24

Original Poster
Rep: Reputation: 15
Thank you Mr. Weibull guy, your input really helped! I downloaded the latest GTK+ source and its dependences, and built them from source. Now all my GTK applications are working just fine.
 
Old 05-24-2008, 03:36 AM   #6
RadonPL
Member
 
Registered: Dec 2005
Location: Gdansk, Poland
Distribution: openSUSE 11.0, Ubuntu 8.04
Posts: 37

Rep: Reputation: 15
I still can't get my problem solved.

I'm now running FF3 from WINE
 
Old 06-02-2008, 06:53 PM   #7
chickendude
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
If you go here:
gtk.org/download-linux.html

Download the latest sources for Pango, GLib, and GTK.
Unpack them.
First install Pango and GLib by opening a terminal and going into their respective folders, typing "./configure", "make", then "sudo make install".
Then install GTK the same way.
It also depends on the "Accessibility Toolkit" (ATK) but that was already installed on my system (and probably on yours too) and the link on their website to the latest ATK source was dead.

This fixed my problems

These are the source files I used:
Pango: ftp.gnome.org/pub/gnome/sources/pango/1.20/pango-1.20.3.tar.gz
GLib: ftp.gnome.org/pub/gnome/sources/glib/2.16/glib-2.16.3.tar.gz
GTK: ftp.gnome.org/pub/gnome/sources/gtk+/2.12/gtk+-2.12.9.tar.gz
 
  


Reply

Tags
firefox, firestarter, gtk, symbol, thunderbird, undefined



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 multi-threaded application akhil1 Programming 2 01-20-2009 03:59 AM
gtk application munna_dude Programming 1 03-17-2007 01:00 AM
how to link helpblocks application to gtk application m.harshavardhan Linux - Software 0 08-16-2005 08:39 AM
running problem of gtk application sonu1082 Linux - Software 0 11-03-2004 10:12 AM
segmentation fault with my Gtk Application jaganmolleti Programming 1 03-18-2003 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 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