php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1497 Can't get PHP 3.0.9 to include gd support!
Submitted: 1999-06-07 00:59 UTC Modified: 1999-06-12 14:22 UTC
From: lewiz at netcom dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.9 OS: FreeBSD 2.2.8-RELEASE #0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lewiz at netcom dot com
New email:
PHP Version: OS:

 

 [1999-06-07 00:59 UTC] lewiz at netcom dot com
./configure \
  --with-config-file-path=/usr/local/lib \
  --with-apache=/usr/local/apache \
  --with-system-regex=yes \
  --with-gd=/usr/local/lib \
  --with-mysql \
  --with-gdbm \
  --enable-debug=no \
  --enable-track-vars=yes \
  --enable-short-tags=no

dev# locate libgd
/usr/lib/libgdbm.a
/usr/local/lib/libgd.a
/usr/local/lib/libgdbm.a

http://209.81.0.9/testgd.phtml
Fatal error: Call to unsupported or undefined function imagecreate()
in /usr/local/apache/htdocs/testgd.phtml on line 2

No matter what I do, even if I manually edit config.h and turn
on the HAVE_LIBGD switch, it doesn't seem to work.

The "gd" was installed from the FreeBSD ports collection, so I
do believe strongly that it is correctly installed !!

Any help.... please....

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-07 01:20 UTC] lewiz at netcom dot com
erin# pkg_info -L gd-1.3
Information for gd-1.3:

Files:
/usr/local/bin/gddemo
/usr/local/bin/giftogd
/usr/local/bin/webgif
/usr/local/include/gd/gd.h
/usr/local/include/gd/gdfontg.h
/usr/local/include/gd/gdfontl.h
/usr/local/include/gd/gdfontmb.h
/usr/local/include/gd/gdfonts.h
/usr/local/include/gd/gdfontt.h
/usr/local/lib/libgd.a
/usr/local/share/examples/gd/demoin.gif
/usr/local/share/examples/gd/index.html

 [1999-06-10 06:56 UTC] jimjag at cvs dot php dot net
Since you're comiling PHP for use with Apache, did you rebuild Apache with the latest PHP? Did you install it? Have you restarted the server?

When you built Apache, did it complain about any unfound references or symbols?
 [1999-06-10 16:39 UTC] lewiz at netcom dot com
The answer to this problem is...  Specify a partial path for the
location of the "gd" library (libgd.a).  For example... this will
NOT work:

--with-gd=/usr/local/lib

(assuming /usr/local/lib/libgd.a exists)

but this *will* work:

--with-gd=/usr/local

The reason for this is because the GD library also installs
some "inc" files, which it injects into the tree /usr/local/inc
of all things.  
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 22:01:28 2024 UTC