Bug 58914 - gnome using incompatible libpng versions
Summary: gnome using incompatible libpng versions
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: libpng   
(Show other bugs)
Version: 1.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-27 20:08 UTC by sean
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-27 20:08:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description sean 2002-01-27 20:08:48 UTC
Description of Problem:
png icons don't appear on XFree

Version-Release number of selected component (if applicable):

How Reproducible:

Steps to Reproduce:
1. startx

Actual Results:
output from startx:

(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jan 27 14:18:39 2002
(==) Using config file: "/etc/X11/XF86Config-4"
XIM DEBUG: SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/12904
libpng warning: Application was compiled with png.h from libpng-1.2.1
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library

Now libpng-1.0.12 is not installed (  presumably when libpng10 was installed ).

From reading the newgroups, this appears to happen if  the older header is found
first on execution. I have two png.h's:

/usr/include/png.h    <------  this is from 1.2.1

libpng.so.2 and so.3  are in /usr/lib

FWIW, I've rebuilt gdk-pixbuf, gnome-core, gnome-libs and XFree86 , since iI
don't know what "application" is being referred to.

Expected Results:

Additional Information:

Comment 1 Bernhard Rosenkraenzer 2002-01-28 13:26:58 UTC
Don't rebuild them.

The gnome-* stuff is linked against the old libpng for binary compatibility
reasons, therefore gnome applications shouldn't link to the current libpng (they
should all use -lpng-1.0), the way they do in our packages.

The new libpng is used by everything that isn't gnome and by gnome 2.x stuff.

Comment 2 Jeffrey C. Ollie 2002-01-29 16:49:40 UTC
I've seen this too, and not because I've recompiled anything - this happens 
straight from the binary Raw Hide RPMS.


Note You need to log in before you can comment on or make changes to this bug.