[php-maint] Bug#418070: php5-gd: Does not load gd module with php get error '...undefined symbol: gdImagePngCtxEx...'.

Fred fredsuthers at hotmail.com
Fri Apr 6 18:37:46 UTC 2007

Package: php5-gd
Version: 5.2.0-8+etch1
Severity: important

I have installed php5-gd from the debian package. When I enable the
extension gd.so, I get the following error:

PHP Warning: PHP Startup: Unable to load dynamic library
/usr/lib/php5/20060613+lfs/gd.so - /usr/lib/php5/20060613+lfs/gd.so:
undefined symbol: gdImagePngCtxEx in Unknown on line 0

And therefore it does not load the gd module. However I have managed to
get imagick module to load ok.

Please can you help and advice me on what to do. I have removed and
reinstalled php5-gd and also restarted apache2 server and still no

Many thanks, Fred

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php5-gd depends on:
ii  libapache2-mod-php5 [phpa 5.2.0-8+etch1  server-side, HTML-embedded scripti
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgd2-xpm                2.0.33-5.2     GD Graphics Library version 2
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxpm4                   1:3.5.5-2      X11 pixmap library
ii  php5-cgi [phpapi-20060613 5.2.0-8+etch1  server-side, HTML-embedded scripti
ii  php5-cli [phpapi-20060613 5.2.0-8+etch1  command-line interpreter for the p
ii  php5-common               5.2.0-8+etch1  Common files for packages built fr
ii  zlib1g                    1:1.2.3-13     compression library - runtime

php5-gd recommends no packages.

-- no debconf information

More information about the pkg-php-maint mailing list