Bug 63323 - php compiled against newer version of libpng error when trying to display a png image
Summary: php compiled against newer version of libpng error when trying to display a p...
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: php
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Phil Copeland
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2002-04-12 15:56 UTC by Brian Bruns
Modified: 2007-04-18 16:41 UTC (History)
0 users

Clone Of:
Last Closed: 2002-04-12 15:56:46 UTC

Attachments (Terms of Use)

Description Brian Bruns 2002-04-12 15:56:40 UTC
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 18:00:03 UTC
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.