Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
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?
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 ??
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.