ImageMagick, MacPorts and MAMP
After installing ImageMagick from MacPorts, I ran into the following error in my MAMP Apache error log when trying to run PHP code that resized images:
Symbol not found: __cg_jpeg_resync_to_restart
To solve this, edit /Applications/MAMP/Library/bin/envvars to read:
DYLD_LIBRARY_PATH="/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH"
export DYLD_FALLBACK_LIBRARY_PATH=/Applications/MAMP/Library/lib
[
Submitted by John on Wed, 2008-09-03 13:32. | | ]



ImageMagick and MAMP
That basically worked for me.
I had to add the following to the top of the doc:
#!/opt/local/bin/perl
and changed
export DYLD_FALLBACK_LIBRARY_PATH=/Applications/MAMP/Library/lib
to read:
export DYLD_FALLBACK_LIBRARY_PATH="/Applications/MAMP/Library/lib"
- reply
]Post new comment