note 84538 modified in image.setup by danbrown

From: Date: Mon, 27 Apr 2009 14:47:56 +0000
Subject: note 84538 modified in image.setup by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153839@lists.php.net to get a copy of this message
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 --was-- 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 http://php.net/manual/en/image.setup.php

« previous php.notes (#153839) next »