|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-29 20:09 UTC] bofh at null-route dot org
[2005-06-29 20:14 UTC] tony2001@php.net
[2005-07-07 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 02:00:01 2025 UTC |
Description: ------------ ./configure is run with "--with-png-dir=/usr" as an option. succeeds on: checking for png_write_image in -lpng... yes FAILS on: checking for png_create_info_struct in -lpng... no Stringing libpng.so and grep'ing for info_struct shows that it exists. # strings /usr/lib/libpng.so | grep info_struct png_create_info_struct png_destroy_info_struct png.h has the appropriate includes: # strings /usr/include/png.h | grep [create|destroy]_info_struct extern PNG_EXPORT(png_infop,png_create_info_struct) extern PNG_EXPORT(void,png_destroy_info_struct) PNGARG((png_structp png_ptr, ldconfig verifies that it knows where to find libpng. # ldconfig -p | grep png libpng10.so.0 (libc6) => /usr/lib/libpng10.so.0 libpng10.so (libc6) => /usr/lib/libpng10.so libpng.so.3 (libc6) => /usr/lib/libpng.so.3 libpng.so (libc6) => /usr/lib/libpng.so I have tried PHP versions: 4.3.10, 4.3.11, and 4.4.0RC1. All give the same error. I have also tried libpng versions: 1.0.17, 1.0.18, 1.2.7 and 1.2.8 with each of the above PHP versions. Same thing each time.