Bug 63323 - php compiled against newer version of libpng error when trying to display a png image
php compiled against newer version of libpng error when trying to display a p...
Product: Red Hat Raw Hide
Classification: Retired
Component: php (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Phil Copeland
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-04-12 11:56 EDT by Brian Bruns
Modified: 2007-04-18 12:41 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-04-12 11:56:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Brian Bruns 2002-04-12 11:56:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (Windows NT 5.0; U)

Description of problem:
PHP 4.1.2-5 included in Rawhide is compiled against libpng 1.2.1 and not 1.0.12, which generates an error and segfault in the php module of 
apache when trying to use php to display png images.

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

How reproducible:

Steps to Reproduce:
1. Install apache 1.3.23 and PHP 4.1.2-5
2. Try to use a PHP coded page which generates png images

Actual Results:  In apache errror_log:
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
gd-png:  fatal libpng error: Incompatible libpng version in application and library
[Fri Apr 12 11:48:37 2002] [notice] child pid 28000 exit signal Segmentation fault (11)

Expected Results:  Display the PNG image

Additional info:

Attempting to recompile php src rpm to see if it fixes the problem.
Comment 1 Brian Bruns 2002-04-12 14:00:03 EDT
Found the problem.  Apparently, from the previous rawhide setup (not sure what happened, but suddenly one day all of the major updates in 
rawhide were replaced with updated versions from 7.2, almost like it had been reverted to a much eariler build of everything), there was a libpng 
1.2.1 RPM.  This was still installed.  Ripping it out linked the program correctly to libpng.so.2 and its fixed.

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