php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30392 relocation error: gd.so: undefined symbol: gdFreeFontCache
Submitted: 2004-10-11 09:47 UTC Modified: 2004-10-11 12:12 UTC
From: streetrulez at cnh dot at Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.9 OS: Debian Woody
Private report: No CVE-ID: None
 [2004-10-11 09:47 UTC] streetrulez at cnh dot at
Description:
------------
Hi!

After I compiled php-4.3.9 (without any compiler erros) with the configure settings from above, make and make install, I added these lines to my php.ini file to load the shared modules:

extension=mysql.so
extension=mcal.so
extension=curl.so
extension=domxml.so
extension=imap.so
extension=ldap.so
extension=mhash.so
extension=recode.so
extension=snmp.so
extension=sybase_ct.so
extension=dbg.so
extension=gd.so

I restarted apache (1.3.26) and it works fine on .html or .htm files. But the first time browsed to a .php file Apache crashed! I looked in /var/log/apache/error.log and found this: 

/usr/sbin/apache: relocation error: /usr/lib/php/20020429-debug/gd.so: undefined
 symbol: gdFreeFontCache


Does anyone have an idee to fix the problem and how to get the gd-lib running?

THX for help :)

greetings, street
(http://193.171.62.103/phpinfo.php)

Reproduce code:
---------------
'./configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=php' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--enable-debug' '--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db2' '--with-iconv' '--with-ndbm' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--with-xml=/usr' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' '--without-pgsql' '--disable-static' '--with-layout=GNU' '--with-curl=shared,/usr/include/curl' '--with-dom=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared,/usr' '--with-recode=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-11 09:57 UTC] derick@php.net
Try to use the bundled GD library, which you do by using just --with-gd
 [2004-10-11 12:12 UTC] streetrulez at cnh dot at
after doing make clean and reconfiguring php with:

'./configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=php' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--enable-debug' '--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db2' '--with-iconv' '--with-ndbm' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--with-xml=/usr' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' '--without-pgsql' '--disable-static' '--with-layout=GNU' '--with-curl=shared,/usr/include/curl' '--with-dom=shared,/usr' '--with-zlib-dir=/usr' '--with-gd' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared,/usr' '--with-recode=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'

gd now works fine :)
thx derick!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 23:01:30 2024 UTC