ugh, i ruined PNG support

Net Llama! netllama at linux-sxs.org
Sun Dec 29 17:23:33 CET 2002


I had some time to kill earlier today, and figured that i'd upgrade a 
bunch of packages on my box.  One of them was libpng, which got upgraded 
to libpng-1.2.2 from libpng-1.0.5.  In so doing, i ended up breaking a 
slew of apps that relied on the older version of libpng.  I was able to 
fix all of them by rebuilding them against the newer version of libpng, 
except for XFCE, which no longer supports PNG (icons etc).  For example, 
some of the icons on my menu bar are PNGs, and now they just refuse to 
load.  I see the following in .xsession-errors:

libpng warning: Application was compiled with png.h from libpng-1.0.5
libpng warning: Application  is  running with png.c from libpng-1.2.2
libpng error: Incompatible libpng version in application and library
*** WARNING ***: Cannot load image file 
/home/netllama/stuff/images/i-dvd-36.png
libpng warning: Application was compiled with png.h from libpng-1.0.5
libpng warning: Application  is  running with png.c from libpng-1.2.2
libpng error: Incompatible libpng version in application and library
*** WARNING ***: Cannot load image file 
/home/netllama/stuff/images/grip-48.png

I only have the following png.h on my box since upgrading:

# locate png.h
/usr/include/png.h
/usr/include/libpng12/png.h

# ls -l /usr/include/png.h
lrwxrwxrwx    1 root     root           14 Dec 28 14:13 
/usr/include/png.h -> libpng12/png.h

So where is it getting this from?  BTW, i'm rebuilding the SRPM for 
xfce-3.8.18, so i assume it should be intelligent enough to build in png 
support properly, right?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   6:20pm  up 14 days,  1:29,  3 users,  load average: 0.00, 0.12, 0.26




More information about the Xfce mailing list