note 84538 added to image.setup
| From: | kronn at osu1 dot php dot net | Date: | Thu, 17 Jul 2008 21:44:45 +0000 |
| Subject: | note 84538 added to image.setup | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141640@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
----
Server IP: 69.147.83.197
Probable Submitter: 91.66.239.71
----
Manual Page -- http://www.php.net/manual/en/image.setup.php
Edit -- https://master.php.net/note/edit/84538
Del: integrated -- https://master.php.net/note/delete/84538/integrated
Del: useless -- https://master.php.net/note/delete/84538/useless
Del: bad code -- https://master.php.net/note/delete/84538/bad+code
Del: spam -- https://master.php.net/note/delete/84538/spam
Del: non-english -- https://master.php.net/note/delete/84538/non-english
Del: in docs -- https://master.php.net/note/delete/84538/in+docs
Del: other reasons-- https://master.php.net/note/delete/84538
Reject -- https://master.php.net/note/reject/84538
Search -- https://master.php.net/manage/user-notes.php