php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6043 checking for gdImageCreateFromPng in -lgd... no (yes in 4.0 Beta 3)
Submitted: 2000-08-09 05:21 UTC Modified: 2000-09-21 10:05 UTC
From: Bernard dot Prevosto at ifremer dot fr Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 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-08-09 05:21 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:14692: checking for gdImageCreateFromPng in -lgd
configure:14711: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -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 -ldl -lcrypt -lnsl -lsocket  -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-08-27 19:06 UTC] sniper@php.net
Please try with latest CVS or snapshot from http://snaps.php.net (or wait for 
4.0.2 to be relaesed) and report back whether problem persists or  not.

--Jani
 [2000-09-21 10:05 UTC] sniper@php.net
you have remains of old gd-lib hanging around in the filesystem.
Find them: find / -name gd.h 
and delete them. Then reconfigure / compile /install both gd-lib and php.
Before reconfiguring php, delete config.cache and php_config.h

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 11:01:28 2025 UTC