php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23735 undefined symbol: gdFreeFontCache
Submitted: 2003-05-21 07:10 UTC Modified: 2003-05-21 07:36 UTC
From: erik at slooff dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.2RC3 OS: SuSE 7.3, kernel 2.4.18
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: erik at slooff dot net
New email:
PHP Version: OS:

 

 [2003-05-21 07:10 UTC] erik at slooff dot net
Hi,

Currently using php 4.2.3 with apache 1.3.26 and gd 2.0.1 without problems.

After configure/make/make install of 4.3.2RC3 (no errors) restarting apache gives the following error:
Cannot load /usr/local/httpd/libexec/libphp4.so into server: /usr/local/httpd/libexec/libphp4.so: undefined symbol: gdFreeFontCache
/etc/rc.d/apachectl start: httpd could not be started

my configure syntax is:
'./configure' '--with-gettext' '--with-xml' '--with-mysql' '--with-imap=/usr/local/imap-2001' '--with-gd=/home/erik/downloads/gd/gd-2.0.1' '--with-zlib' '--with-xmlrpc' '--with-expat' '--with-apxs=/usr/local/httpd/bin/apxs' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-mcrypt' '--disable-cli' '--without-pear' '--enable-gd-native-ttf' '--enable-gd-imgstrttf'

phpinfo output is here:
http://slooff.net/test.php

Erik

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-21 07:13 UTC] derick@php.net
Change: '--with-gd=/home/erik/downloads/gd/gd-2.0.1'
TO:     '--with-gd'

and PHP will use the internal library which is MUCH better than your installed version. GD broke their API, so it's not a PHP bug...
 [2003-05-21 07:36 UTC] erik at slooff dot net
Indeed, changing to the internal library fixed the problem. Thanks for the help!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 06:01:38 2025 UTC