LinuxQuestions.org
Visit Jeremy's Blog.
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 08-29-2004, 09:59 PM   #1
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Unhappy GTK installation/upgrade troubles


I've been trying to upgrade GTK+2.2.1 to GTK+2.4.0, and it's gone bad. After many installations, uninstallations, cursings, etc., I managed to get this error when starting practically ANY GTK application:
relocation error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: gdk_threads_lock
I've tried uninstalling GTK/libgtk completely and reinstalling it, but that never helps, no matter what version I reinstall. Anyone?
 
Old 08-30-2004, 12:20 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
the older version of gtk did not have a symbol
gdk_threads_lock/unlock but instead used a global variable
gdk_threads_mutex (i think) in the modern version gdk_threads_lock/unlock
are present and undefined in alot of gtk libs but i think are defined B (Base) in libgdk-x11
anyway you should be able to see them as defined
objdump -T /usr/lib/libgdk-*.so | grep "gdk_threads_lock"
i think you will have to recompile or upgrade the apps that no longer work
or just go back to the old version of gtk

i don't quite understand why you can't roll back ?????

exactly what steps did you take to get back to the old version ??
or i should say to get where you are now ?

you didn't by chance compile a new version of glib without thread support did you ??
 
Old 08-30-2004, 08:47 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
Thanks for the help, I made a complete removal of GTK (I suppose it didn't work before...), then reinstalled. Problem fixed, although the reason for upgrade was to get a better version of the GIMP (I'm on 1.2.3)... Still, there's a new problem. No images are displaying in GTK apps, the console readout is saying stuff about png, xpm, jpg, and all sorts of image formats not supported. Any ideas?
 
Old 08-31-2004, 04:31 PM   #4
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
Bump (sorry if it's too early).
 
  


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
Upgrade to Gtk 2.6 but keep my old Gtk 2.0? rylan76 Linux - Software 6 06-13-2005 01:29 AM
Gtk-gnutella, kmldonkey, mutella troubles on SuSE 9.1 J_Szucs Linux - Software 0 01-02-2005 06:28 PM
GTK version troubles gokul Linux - Newbie 2 12-01-2004 12:56 AM
Troubles installing gtk CuBiC Linux - Newbie 3 06-17-2004 10:23 AM
Upgrade Troubles Sidicas Linux - Software 0 04-16-2004 05:11 PM

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

All times are GMT -5. The time now is 06:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration