LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gtk errors about not recognizing png after yum groupupdate to dev version of gnome (https://www.linuxquestions.org/questions/linux-software-2/gtk-errors-about-not-recognizing-png-after-yum-groupupdate-to-dev-version-of-gnome-152870/)

xfracture 03-02-2004 11:33 PM

gtk errors about not recognizing png after yum groupupdate to dev version of gnome
 
i use fedora and recently had yum do a group update for GNOME to the latest development release (2.5.90-1)
i had been using the dev before and it was fine until this last update.


i rebooted the machine later the next day and found gdm to no longer work. that was easily fixed by simply switching over to kdm.

however, when gnome started i got a bunch of errors about not being able to recognize png files. while gnome will still load minus all graphics and icons, the majority of its applications will not load.

these are 2 examples of errors i get when launching an app via the terminal:
(gnome-about :11724): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons/Bluecurve/20x20/stock/gtk-close.png

(synaptic:11703): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported



i have the latest of fedoras' dev rpms for gnome installed, as well as the latest control-panel, gtk, gtk2, gconf2, gdkpixbuf, etc.
i also updated my libpng & libpng10 packages to see if that would do anything.

i was wondering if anyone else had a similar issue or knows how i can resolve this (if its a prob with the current dev of gnome itself, i will gladly wait for the next release if need be)

thanks in advance for everyones help

jailbait 03-03-2004 10:18 AM

"when gnome started i got a bunch of errors about not being able to recognize png files."

The most likely cause of this problem is something being wrong with libpng. Maybe it is not there. Maybe it is the wrong version. Maybe it is corrupt. Take a look at:
rpm -qi libpng
and see if libpng is installed and what version it is. If it is installed try:
rpm --test -e libpng
to get a dependency list.
You might try reinstalling libpng with:
rpm --force -i /path/png.rpm

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

xfracture 03-03-2004 10:48 AM

its using the latest dev version of libpng & libpng10 which i upgraded to when i saw the error the first time.

a forced reinstall had no effect.


Name : libpng Relocations: (not relocateable)
Version : 1.2.2 Vendor: Red Hat, Inc.
Release : 19 Build Date: Fri 27 Feb 2004 04:44:13 AM EST
Install Date: Mon 01 Mar 2004 12:15:29 AM EST Build Host: tweety.devel.redhat.com
Group : System Environment/Libraries Source RPM: libpng-1.2.2-19.src.rpm
Size : 371312 License: OSI certified
Signature : (none)
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.libpng.org/pub/png/
Summary : A library of functions for manipulating PNG image format files.
Description :
The libpng package contains a library of functions for creating and
manipulating PNG (Portable Network Graphics) image format files. PNG
is a bit-mapped graphics format similar to the GIF format. PNG was
created to replace the GIF format, since GIF uses a patented data
compression algorithm.


[root@localhost xfracture]# rpm --test -e libpng

error: Failed dependencies:
libpng12.so.0 is needed by (installed) gd-2.0.15-1
libpng12.so.0 is needed by (installed) pilot-link-0.11.8-1
libpng12.so.0 is needed by (installed) ImageMagick-5.5.6-5
libpng12.so.0 is needed by (installed) emacs-21.3-7
libpng12.so.0 is needed by (installed) xawtv-3.88-6
libpng12.so.0 is needed by (installed) xsane-0.91-1
libpng12.so.0 is needed by (installed) imlib-1.9.13-14
libpng12.so.0 is needed by (installed) abiword-2.0.1-1
libpng12.so.0 is needed by (installed) gqview-1.2.1-6
libpng12.so.0 is needed by (installed) SDL_image-1.2.3-3
libpng12.so.0 is needed by (installed) netpbm-progs-9.24-12.1.1
libpng12.so.0 is needed by (installed) xine-lib-1.0.0-0.5.rc3.fr
libpng12.so.0 is needed by (installed) xine-0.9.23-1.fr
libpng12.so.0 is needed by (installed) mplayer-1.0-0.5.pre2.20031107.fr
libpng12.so.0 is needed by (installed) k3b-0.11.3-1.xcyb
libpng12.so.0 is needed by (installed) kbear-2.1-1
libpng12.so.0 is needed by (installed) wxGTK-2.4.2-3.fr
libpng12.so.0 is needed by (installed) imlib2-1.1.0-1.fr
libpng12.so.0 is needed by (installed) vlc-0.7.0-1
libpng12.so.0 is needed by (installed) kdelibs-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdegames-3.2.0-0.1
libpng12.so.0 is needed by (installed) koffice-1.3-0.1
libpng12.so.0 is needed by (installed) kdeaccessibility-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdeadmin-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdebindings-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdeedu-3.2.0-0.1
libpng12.so.0 is needed by (installed) armagetron-0.2.5.2-2.fr
libpng12.so.0 is needed by (installed) glob2-0.8.2-1
libpng12.so.0 is needed by (installed) lbreakout2-2.5-0.beta3.1.fr
libpng12.so.0 is needed by (installed) zsnes-1.36-3
libpng12.so.0 is needed by (installed) cinepaint-0.18-1
libpng12.so.0 is needed by (installed) gtk2-2.3.2-3
libpng12.so.0 is needed by (installed) gimp-2.0-1.pre3.4
libpng12.so.0 is needed by (installed) xsane-gimp-0.92-5
libpng12.so.0 is needed by (installed) gdk-pixbuf-0.22.0-5.0
libpng12.so.0 is needed by (installed) freedroidrpg-0.9.9-0.fdr.1.1
libpng12.so.0 is needed by (installed) quanta-3.2.0-1.1
libpng12.so.0 is needed by (installed) cups-libs-1.1.20-4
libpng12.so.0 is needed by (installed) qt-3.3.0-0.3
libpng12.so.0 is needed by (installed) arts-1.2.0-1.5
libpng12.so.0 is needed by (installed) ghostscript-7.07-23
libpng12.so.0 is needed by (installed) qt-devel-3.3.0-0.3
libpng12.so.0 is needed by (installed) kdeaddons-atlantikdesigner-3.2.0-1.6
libpng12.so.0 is needed by (installed) kdebase-3.2.0-1.8
libpng12.so.0 is needed by (installed) kdemultimedia-3.2.0-1.3
libpng12.so.0 is needed by (installed) kdepim-3.2.0-1.4
libpng12.so.0 is needed by (installed) kdeaddons-3.2.0-1.6
libpng12.so.0 is needed by (installed) kdegraphics-3.2.0-1.3
libpng12.so.0 is needed by (installed) kdeutils-3.2.0-1.2
libpng12.so.0 is needed by (installed) kdenetwork-3.2.0-1.5
libpng12.so.0 is needed by (installed) kdeartwork-3.2.0-1.3
libpng12.so.0 is needed by (installed) gtk2-2.3.4-1
libpng12.so.0 is needed by (installed) gnome-panel-2.5.90-1
libpng12.so.0 is needed by (installed) XFree86-4.3.0-61
libpng12.so.0 is needed by (installed) gthumb-2.3.1-1
libpng12.so.0 is needed by (installed) gstreamer-plugins-0.7.5-2
libpng is needed by (installed) ImageMagick-5.5.6-5
libpng = 2:1.2.2 is needed by (installed) libpng-devel-1.2.2-17
libpng is needed by (installed) xine-lib-1.0.0-0.5.rc3.fr
libpng is needed by (installed) mplayer-1.0-0.5.pre2.20031107.fr
libpng is needed by (installed) imlib2-1.1.0-1.fr
libpng is needed by (installed) lbreakout2-2.5-0.beta3.1.fr
libpng is needed by (installed) librsvg2-2.5.0-2
libpng is needed by (installed) ghostscript-7.07-23

it looks like everything should be working to me. :(

jailbait 03-03-2004 04:17 PM

"it looks like everything should be working to me. "

I think that you have proven that libpng is not the problem.

My guess now is that when you did the yum update that something was not updated properly. Some package has the old version or old files or is corrupt. But figuring out which package, if any, is screwed up could be a lot of work. You could start out by working out the dependency tree of what you installed. Start with one of the packages at the top of the tree (gnome-desktop, gtk+, or whatever) and use the command:
rpm -qR gnome-desktop
to find out what depends on what. Then you check the dependencies' dependencies, etc. You can compare the dependency tree against a list of everything that you have installed.
This command will give you that list in /root/all.rpms.txt:
rpm -qa > /root/all.rpms.txt
Check version numbers as well as package names.

"if its a prob with the current dev of gnome itself, i will gladly wait for the next release if need be"

You have installed a development release of gnome. It may be a bug in gnome. You can check the gnome bug data base to see if it is a reported bug and if there is a fix for it:

http://bugzilla.gnome.org/

If not, then you may want to report this problem as a bug.

If the dependency problem and/or the bug problem are more work than you want to mess with then I suggest that you drop back to the latest stable version of gnome, which should have no dependency problems and a lot fewer bugs.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

pikus 03-31-2004 12:38 PM

I had exact same problem after updating from RH7.3 to FC1. The following fixed it for me:
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

onnyloh 09-26-2004 01:31 AM

Quote:

Originally posted by pikus
I had exact same problem after updating from RH7.3 to FC1. The following fixed it for me:
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders


i love u guy...
my system was nearly gone....
thank for your help.. ^_^"

arond 12-14-2010 10:14 AM

Quote:

Originally Posted by pikus (Post 850154)
I had exact same problem after updating from RH7.3 to FC1. The following fixed it for me:
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders


Just for the record, this fixed xfce and lxde in OpenSuse 11.3 after upgrade from 11.1, 6 years later!


All times are GMT -5. The time now is 05:55 AM.