php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3317 configure problem with gdlib
Submitted: 2000-01-26 08:33 UTC Modified: 2000-01-26 08:42 UTC
From: thomas dot fischer at iao dot fhg dot de Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 3 OS: IRIX 6.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thomas dot fischer at iao dot fhg dot de
New email:
PHP Version: OS:

 

 [2000-01-26 08:33 UTC] thomas dot fischer at iao dot fhg dot de
configure fails to detect function 'gdImageCreateFromPng' in libgd.a although 'gdImageCreateFromPng' is part of libgd.a

This results in compilation errors, as the linker tries to find the not existing gif related functions in libgd instead of the png functions.


I'm working with gcc2.95.2 building n32 code, the whole environment is equipped with gnu development stuff.

configure line:  ./configure --prefix=/www --disable-debug --with-apache=../apache_1.3.9 --enable-track-vars --disable-short-tags --with-ftp --with-gd=/usr/local --with-zlib


Regards - TOM

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-26 08:42 UTC] thomas dot fischer at iao dot fhg dot de
configure has difficulties when trying to test linking
'gdImageCreateFromPng' without -lpng -lm -lz

I fixed the problem with some changes to 'configure',
but I'm not a configure expert:


line 7283
< LIBS="-lgd  $LIBS"
> LIBS="-lgd -lpng -lm -lz $LIBS"

line 7518
< LIBS="-lgd  $LIBS"
> LIBS="-lgd -lpng -lm -lz $LIBS"


This should be fixed in further PHP releases - TOM
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 14:01:31 2024 UTC