LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-30-2004, 10:01 AM   #1
DVation
LQ Newbie
 
Registered: Nov 2002
Posts: 22

Rep: Reputation: 15
GTK+ Update


Some software I wanted to install required a newer version of GTK+ than I was using. So off to compile the new version I go...

GLib, Pango, and ATK need to be installed first before GTK+ can be compiled (as I understand it). I installed GLib and ATK fine with no issues. Pango is another story.

When I run make, it fails......
/home/dvation/pango-1.4.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private'
/home/dvation/pango-1.4.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_class_add_private'
/home/dvation/pango-1.4.1/pango/.libs/libpango-1.0.so: undefined reference to `g_unichar_get_mirror_char'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1
make[4]: Leaving directory `/home/dvation/pango-1.4.1/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dvation/pango-1.4.1/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dvation/pango-1.4.1/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dvation/pango-1.4.1'
make: *** [all] Error 2

Now I obviously have previous versions of these three packages, though it didn't seem to matter with GLib and ATK as they compiled with no issues. Now I'm stuck on Pango and can't get it installed. Any troubleshooting ideas here? I wonder if it has something to do with a previous version being installed...but I don't know how to "uninstall" it without running the risk of seriously screwing up my system.
 
Old 11-30-2004, 01:10 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
is trying to link against the old version of glib and not finding needed symblols

it is going to be difficult at best to have 2 different versions of glib2/gtk2 at the same time
the only hint i can give is all versions of glib2 and gtk2 just call themselves 2.0
all versions of pango and atk just call themselves 1.0 even the packageconfig files for them are all named exactly the same thing.
so if you are going to have multiple versions and expect the system to see them as different and know which one to use forget it.
you will either have to play hide and seek with them or do some fancy Makefile link foo
 
Old 11-30-2004, 01:17 PM   #3
DVation
LQ Newbie
 
Registered: Nov 2002
Posts: 22

Original Poster
Rep: Reputation: 15
ok, well that's a good start...so you think it isn't going well because of the multiple versions installed? I figured as much.

My issue then becomes, how do I upgrade? Or how do I uninstall/reinstall?

I can't be the first one to need and/or want to do this...yet I can't seem to find much help on the subject...care to shed some more light the process?
 
  


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
how do i update GTK+??? yzq Mandriva 2 04-09-2005 03:01 PM
Gkrellm will not load, do I need to update GTK? DR_K13 Red Hat 7 10-28-2004 02:38 AM
update gtk+ palano Linux - Software 2 04-04-2004 07:42 PM
GTK Doesn't Update? Stuck on 1.2.7 GT_Onizuka Linux - Software 3 11-22-2003 03:38 PM
Which GTK to update to? dvergin Linux - Software 1 04-04-2003 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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