ID:               33509
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bofh at null-route dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Linux 2.6.11
 PHP Version:      4.4.0RC1
 New Comment:

Put your config.log somewher in the Net and give us the link, plz.


Previous Comments:
------------------------------------------------------------------------

[2005-06-29 20:09:07] bofh at null-route dot org

Whups, left out the "bail" line:

checking for png_create_info_struct in -lpng... no
configure: error: libpng not found!

------------------------------------------------------------------------

[2005-06-29 20:07:02] bofh at null-route dot org

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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33509&edit=1

Reply via email to