When using Ubuntu Server 8.04.1 & PHP5. If your GD installation isn't working properly or features are missing. You can install a complete bundled (forked) GD libraries without the need to recompile. The following worked for me: http://drupal.org/node/134331#comment-1120427
User Contributed Notes
Instalação/Configuração
Instalação/Configuração
onopoc at gmail dot com
21-Nov-2008 11:08
21-Nov-2008 11:08
msc at homofaber dot com
30-Oct-2008 01:45
30-Oct-2008 01:45
It should be noted that it might be pretty easy to install gd without the need to recompile php, when using debian:
apt-get install php5-gd
kronn
17-Jul-2008 06:44
17-Jul-2008 06:44
Everytime I try to install the gd-lib as a dynamic extension, I run into the same problem: It wont work.
I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20040412/gd.so' - dlopen(/usr/pkg/lib/php/20040412/gd.so, 9): Symbol not found: __cg_jpeg_resync_to_restart\n Referenced from: /System/Library/Frameworks/ApplicationServices. framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO\n Expected in: /usr/pkg/lib/libjpeg.62.dylib\n in Unknown on line 0
I use pkgsrc for software package managment on my mac, as may be apparent from the paths.
The solution is, to edit the file /usr/pkg/sbin/envvars and remove or comment the DYLD_LIBRARY_PATH because it is causing the error...
Source: http://wiki.urbanek.info/index.cgi?TigeR

Introdução