php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3978 checking for gdImageCreateFromPng in -lgd... no (yes in 4.0 Beta 3)
Submitted: 2000-03-30 06:57 UTC Modified: 2000-08-23 08:30 UTC
From: Bernard dot Prevosto at ifremer dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 2 OS: solaris 2.5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Bernard dot Prevosto at ifremer dot fr
New email:
PHP Version: OS:

 

 [2000-03-30 06:57 UTC] Bernard dot Prevosto at ifremer dot fr
configure line:
----------
./configure" \
--with-apache=/home1/beniguet/tmsiric/bpre/anonymous/apache/apache_1.3.12 \
--with-mysql=/usr/local/mysql \
--with-sybase=/home1/iletudy/www/httpd/sybase \
-with-oracle=/home1/iletudy/www/httpd/oracle\
--with-gd=/home/services_SV/bibli/gdlib \
--with-zlib-dir=/home/services_SV/bibli/zlib \
--with-jpeg-dir=/home/services_SV/bibli/jpeglib\
--with-config-file-path=/home1/iletudy/www/httpd/php

I've with  php4.0beta3:

checking for gdImageCreateFromPng in -lgd...  yes

and with  php4.rc1:

checking for gdImageCreateFromPng in -lgd... no

with in my config.log:

configure:9901: checking for gdImageCreateFromPng in -lgd
configure:9920: gcc -o conftest -g -O2   -R/usr/ucblib -L/usr/ucblib -R/home/services_SV/bibli/gdlib/lib -L/home/services_SV/bibli/gdlib/lib -L/home/services_SV/bibli/gdlib/lib conftest.c -lgd  -lgd -lm -lcrypt -lsocket -lnsl  -lresolv -lz -lpng 1>&5
Undefined			first referenced
 symbol  			    in file
inflateEnd                          /usr/lib/libpng.a(pngread.o)
deflateInit2_                       /usr/lib/libpng.a(pngwutil.o)
deflateReset                        /usr/lib/libpng.a(pngwutil.o)
inflate                             /usr/lib/libpng.a(pngread.o)
deflate                             /usr/lib/libpng.a(pngwrite.o)
deflateEnd                          /usr/lib/libpng.a(pngwrite.o)
inflateInit_                        /usr/lib/libpng.a(pngread.o)
crc32                               /usr/lib/libpng.a(png.o)
inflateReset                        /usr/lib/libpng.a(pngrutil.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status

it's good in php4.0 beta3

Thank's

Bernard
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-23 05:46 UTC] joey at cvs dot php dot net
Are you still seeing this with PHP 4.0.1pl2 or better?
 [2000-08-15 09:44 UTC] waldschrott@php.net
Closed due to missing user feedback.
 [2000-08-21 11:41 UTC] waldschrott@php.net
don?t know if it applies to current versions,
user feedback:


 Hi,

see bug #3978 http://bugs.php.net/?id=3978 about gd and png
configure error.

I posted a message too earlier with configure line and error

http://www.geocrawler.com/archives/3/5/2000/7/0/3988090/  I
solved the problem rapidly (i.e read badly) by adding
manually -lpng -lz to
LIBS in ./configure

The point is too reverse the order from "-lz -lpng" to
"-lpng -lz" to configure
png support for gd (on my system at least)

Then, I got png support (no error during configuring, I
didn't have time to
compile yet but I think it should make it).

Sorry, this is quick, as I'm on vacation. Can you have a
look at this so that
it can make it for 4.0.2 release ?

Thanks.

--
Olivier.Cahagne@epita.fr
 [2000-08-23 08:30 UTC] sas@php.net
Fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 13:00:01 2026 UTC