LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-25-2012, 08:29 AM   #1
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Rep: Reputation: 1
Arrow [CentOS 5.8] GTK2+


Hey All,

I'm having some annoying problem with GTK2.

As I'm trying to run some application, I receive the following error:

Code:
dfxshell: symbol lookup error: dfxshell: undefined symbol: gtk_builder_new
My guess would be that I need to upgrade my gtk version to a newer version than:

Code:
rpm -qa | grep -i gtk2
pygtk2-2.10.1-12.el5
gtk2-engines-2.8.0-3.el5
gtk2-engines-2.8.0-3.el5
gtk2-devel-2.10.4-21.el5_7.7
libswt3-gtk2-3.2.1-19.el5.centos
gtk2-2.10.4-21.el5_7.7
gtk2-devel-2.10.4-21.el5_7.7
gtk2-2.10.4-21.el5_7.7
pygtk2-libglade-2.10.1-12.el5
so I tried downloading gtk2-2.18.9-6.el6.x86_64.rpm, along with the -devel package and it shouts for many missing dependencies.

I'm aware to the fact the package is for CentOS 6 but I couldn't find any newer version than what I already have for CentOS 5.

What would be my option? btw, it happens on both KDE and Gnome environment.


Thanks in advanced.

Nir.

Last edited by niiiro; 03-25-2012 at 09:04 AM.
 
Old 03-25-2012, 10:29 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Does this happen with several programs, or with just one? If the latter, which one?
 
Old 03-25-2012, 10:40 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
symbol lookup error: dfxshell: undefined symbol: gtk_builder_new
"gtk_builder_new" is a symbol found in a later gtk2 version.

A later gtk2 can be installed to a hideaway location, see post #4 here
http://www.linuxquestions.org/questi...ound-933946/#4
Dependencies : Appropriate versions of glib2, atk, cairo, pango.

Using a special gtk2 version, example :
'export LD_LIBRARY_PATH=/usr/local/glib226/lib && <application-start-command>'
(Easy to use : Make a start script with the command(s)).

The export command will put the new libgtk-x11-2.0.so.0 first in the "library path".

.

Last edited by knudfl; 03-25-2012 at 10:44 AM.
 
Old 03-25-2012, 10:43 AM   #4
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Original Poster
Rep: Reputation: 1
I haven't tried any other program since I'm gonna need only this one
 
Old 03-25-2012, 10:52 AM   #5
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Original Poster
Rep: Reputation: 1
Sounds like a useful answer... gonna try it out and let you guys know.

Many thanks for now!
 
Old 03-25-2012, 11:04 AM   #6
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Original Poster
Rep: Reputation: 1
knudfl, the link from your other post refers to Fefore 14 OS.

where could I find a newer gtk2 files for CentOS?

obviously I tried googling it first but with no success...
 
Old 03-25-2012, 11:15 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6
Quote:
Where could I find a newer gtk2 files for CentOS ?
You can't. No packages available.
The libs must be build manually, ref. the text in the link.

The Fedora 12 = CentOS 6 versions will do : glib2 atk cairo pango gtk2.
Or you can use the Fedora 14 versions, I guess.

.
 
Old 03-26-2012, 12:39 AM   #8
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Original Poster
Rep: Reputation: 1
I guess I'll just use the latest Fedora version, which uses GTK 2.26

Many thanks for your kind help.
 
  


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
gtk2+ install dqiu350508 Linux - Software 5 08-07-2008 03:00 PM
Gtk2 Prada Linux - Software 10 04-24-2007 12:46 AM
GTK2-2.4 vs 2.6 linmix Linux - Software 5 02-16-2006 02:10 PM
Mozilla with GTK2 raysr Linux - Software 2 06-21-2005 04:20 PM
GTK2 problems nocturnal Linux - Software 1 05-11-2003 08:26 AM

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

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