Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Problem occured on two separate systems, running an uptodate (as of now) system. PROBLEM DESCRIPTION ---------------------------- When trying to use any of the 'png' functions from the GD library built into the mod_php, apache would return no data to the browser, and a line like: [Thu Jul 18 14:35:39 2002] [notice] child pid 32045 exit signal Segmentation fault (11) would appear in the apache error logs. After some testing, I narrowed down the problem to be the version of libpng which has been built into PHP / GD. Version's installed: mod_php /usr/portage/dev-php/mod_php/mod_php-4.2.1-r5.ebuild libgd /usr/portage/media-libs/libgd/libgd-1.8.3-r5.ebuild libpng /usr/portage/media-libs/libpng/libpng-1.2.4.ebuild TO FIX THE PROBLEM ------------------------- To 'fix' this problem, I had to: # remove the old libpng unmerge libpng # manually emerge the older version /usr/portage/media-libs/libpng/ebuild libpng-1.0.12-r1.ebuild merge # re-emerge libgd emerge libgd # manually edit the ebuild mod_php file you want to emerge # in my case, it was this one nano -w /usr/portage/dev-php/mod_php/mod_php-4.2.1-r5.ebuild # under the depends, hash out the existing reference to libpng # and put in the older version which we emerged earlier # >=media-libs/libpng-1.2.1 <- hash this line >=media-libs/libpng-1.0.12 <- enter in this one # re-emerge mod_php, which will use the older libpng to build from emerge mod_php # restart apache /etc/init.d/apache restart And that has fixed the problem. I don't know where this bug lies (php, or libgd, or libpng?) but this is a working temporary fix.
cool man, i just gave up and started using jpegs ;) when i googled for that information, libpng said they *fixed* it, but i guess they might be wrong :x
Is this a bug that can be resolved in portage, or is it a user dependent bug?
*** This bug has been marked as a duplicate of 5444 ***